/* 8: travel */
unsigned startingpet_mid;
int warnlevel;
- int in_lava_effects; /* hack for Boots_off() */
long next_attrib_check; /* next attribute check */
long stethoscope_move;
short stethoscope_movement;
* on some non-move commands */
boolean zerocomp; /* write zero-compressed save files */
boolean rlecomp; /* run-length comp of levels when writing savefile */
- uchar num_pad_mode;
- int menu_headings; /* ATR for menu headings */
- int purge_monsters; /* # of dead monsters still on fmon list */
+ uchar num_pad_mode;
+ int in_lava_effects; /* hack for Boots_off() */
+ int menu_headings; /* ATR for menu headings */
+ int purge_monsters; /* # of dead monsters still on fmon list */
int *opt_booldup; /* for duplication of boolean opts in config file */
int *opt_compdup; /* for duplication of compound opts in config file */
uchar bouldersym; /* symbol for boulder display */
!Levitation && !Flying && !is_clinger(youmonst.data) &&
!context.takeoff.cancelled_don &&
/* avoid recursive call to lava_effects() */
- !context.in_lava_effects) {
+ !iflags.in_lava_effects) {
/* make boots known in case you survive the drowning */
makeknown(otyp);
spoteffects(TRUE);
which would successfully delete (via useupall) the no-longer-worn
boots; once recursive call returned, we would try to delete them
again here in the outer call (access stale memory, probably panic) */
- context.in_lava_effects++;
+ iflags.in_lava_effects++;
for(obj = invent; obj; obj = obj2) {
obj2 = obj->nobj;
}
}
- context.in_lava_effects--;
+ iflags.in_lava_effects--;
/* s/he died... */
u.uhp = -1;