trunk only: preserving context (src files)
Pat Rankin wrote: > collect them all into some new struct and > save that separately rather than jamming more non-option stuff > into struct flags. This patch: - collects all context/tracking related fields from flags into a new structure called "context." It also adds the following to the new structure: - stethoscope turn support - victual support - tin support
This commit is contained in:
@@ -608,11 +608,11 @@ dismount_steed(reason)
|
||||
in_steed_dismounting = TRUE;
|
||||
(void) float_down(0L, W_SADDLE);
|
||||
in_steed_dismounting = FALSE;
|
||||
flags.botl = 1;
|
||||
context.botl = 1;
|
||||
(void)encumber_msg();
|
||||
vision_full_recalc = 1;
|
||||
} else
|
||||
flags.botl = 1;
|
||||
context.botl = 1;
|
||||
/* polearms behave differently when not mounted */
|
||||
if (uwep && is_pole(uwep)) unweapon = TRUE;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user