bundle the display-related hints, that tell bot() and others
that an update is required, into a struct. Remove it from context since there is no reason to save those.
This commit is contained in:
@@ -366,7 +366,7 @@ mount_steed(
|
||||
}
|
||||
remove_monster(mtmp->mx, mtmp->my);
|
||||
teleds(mtmp->mx, mtmp->my, TELEDS_ALLOW_DRAG);
|
||||
gc.context.botl = TRUE;
|
||||
display.botl = TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -797,11 +797,11 @@ dismount_steed(
|
||||
gi.in_steed_dismounting = TRUE;
|
||||
(void) float_down(0L, W_SADDLE);
|
||||
gi.in_steed_dismounting = FALSE;
|
||||
gc.context.botl = TRUE;
|
||||
display.botl = TRUE;
|
||||
(void) encumber_msg();
|
||||
gv.vision_full_recalc = 1;
|
||||
} else
|
||||
gc.context.botl = TRUE;
|
||||
display.botl = TRUE;
|
||||
/* polearms behave differently when not mounted */
|
||||
if (uwep && is_pole(uwep))
|
||||
gu.unweapon = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user