Changeset 86
- Timestamp:
- 04/27/07 10:42:20 (2 years ago)
- Files:
-
- trunk/src/Makefile.osx (modified) (1 diff)
- trunk/src/cmd4.c (modified) (2 diffs)
- trunk/src/object2.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/Makefile.osx
r79 r86 17 17 18 18 CC = gcc 19 20 ifeq ($(OPT),) 21 OPT = -O2 22 endif 19 OPT ?= -O2 23 20 24 21 # Name of the game trunk/src/cmd4.c
r82 r86 4035 4035 { 4036 4036 int cursor = 0; 4037 event_type c ;4037 event_type c = { EVT_NONE }; 4038 4038 4039 4039 screen_save(); … … 4052 4052 { 4053 4053 int cursor = 0; 4054 event_type c ;4054 event_type c = { EVT_NONE }; 4055 4055 4056 4056 screen_save(); trunk/src/object2.c
r62 r86 1008 1008 } 1009 1009 1010 /* Rings/Amulets */1010 /* Rings/Amulets, Lites */ 1011 1011 case TV_RING: 1012 1012 case TV_AMULET: … … 1221 1221 break; 1222 1222 } 1223 1224 /* Missiles */1225 1223 1226 1224 /* Weapons and Armor */ … … 1246 1244 case TV_RING: 1247 1245 case TV_AMULET: 1246 case TV_LITE: 1248 1247 { 1249 1248 /* Require both items to be known */ … … 1252 1251 /* Fall through */ 1253 1252 } 1253 1254 /* Missiles */ 1254 1255 case TV_BOLT: 1255 1256 case TV_ARROW: … … 1276 1277 if (o_ptr->xtra1 || j_ptr->xtra1) return (FALSE); 1277 1278 1278 /* Hack -- Never stack recharging items */ 1279 if ((o_ptr->timeout || j_ptr->timeout) && o_ptr->tval != TV_LITE) 1280 return (FALSE); 1279 /* Hack - Never stack recharging items */ 1280 if ((o_ptr->timeout || j_ptr->timeout) && o_ptr->tval != TV_LITE) 1281 return FALSE; 1282 1283 /* Lites must have same amount of fuel */ 1284 else if(o_ptr->timeout != j_ptr->timeout && o_ptr->tval == TV_LITE) 1285 return FALSE; 1281 1286 1282 1287 /* Require identical "values" */
