some reformatting (3 of 4)
This commit is contained in:
11
src/mkobj.c
11
src/mkobj.c
@@ -1100,7 +1100,8 @@ mksobj_init(struct obj *otmp, boolean artif)
|
||||
if (otmp->otyp == WAN_WISHING)
|
||||
otmp->spe = rnd(3);
|
||||
else
|
||||
otmp->spe = rn1(5, (objects[otmp->otyp].oc_dir == NODIR) ? 11 : 4);
|
||||
otmp->spe = rn1(5,
|
||||
(objects[otmp->otyp].oc_dir == NODIR) ? 11 : 4);
|
||||
blessorcurse(otmp, 17);
|
||||
otmp->recharged = 0; /* used to control recharging */
|
||||
break;
|
||||
@@ -2031,8 +2032,9 @@ mkcorpstat(
|
||||
|
||||
otmp->corpsenm = monsndx(ptr);
|
||||
otmp->owt = weight(otmp);
|
||||
if (otmp->otyp == CORPSE && (gz.zombify || special_corpse(old_corpsenm)
|
||||
|| special_corpse(otmp->corpsenm))) {
|
||||
if (otmp->otyp == CORPSE
|
||||
&& (gz.zombify || special_corpse(old_corpsenm)
|
||||
|| special_corpse(otmp->corpsenm))) {
|
||||
obj_stop_timers(otmp);
|
||||
start_corpse_timeout(otmp);
|
||||
}
|
||||
@@ -2381,7 +2383,8 @@ obj_timer_checks(
|
||||
|
||||
/* mark the corpse as being on ice */
|
||||
otmp->on_ice = 1;
|
||||
debugpline3("%s is now on ice at <%d,%d>.", The(xname(otmp)), x, y);
|
||||
debugpline3("%s is now on ice at <%d,%d>.",
|
||||
The(xname(otmp)), x, y);
|
||||
/* Adjust the time remaining */
|
||||
tleft *= ROT_ICE_ADJUSTMENT;
|
||||
restart_timer = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user