Another round of instance globals changes.

This commit is contained in:
Bart House
2018-12-24 16:43:50 -08:00
parent e5e906dc3b
commit 572ee347b9
78 changed files with 946 additions and 975 deletions

View File

@@ -642,9 +642,9 @@ int reason; /* Player was thrown off etc. */
/* Keep steed here, move the player to cc;
* teleds() clears u.utrap
*/
in_steed_dismounting = TRUE;
g.in_steed_dismounting = TRUE;
teleds(cc.x, cc.y, TRUE);
in_steed_dismounting = FALSE;
g.in_steed_dismounting = FALSE;
/* Put your steed in your trap */
if (save_utrap)
@@ -673,12 +673,12 @@ int reason; /* Player was thrown off etc. */
/* usually return the hero to the surface */
if (reason != DISMOUNT_ENGULFED && reason != DISMOUNT_BONES) {
in_steed_dismounting = TRUE;
g.in_steed_dismounting = TRUE;
(void) float_down(0L, W_SADDLE);
in_steed_dismounting = FALSE;
g.in_steed_dismounting = FALSE;
context.botl = TRUE;
(void) encumber_msg();
vision_full_recalc = 1;
g.vision_full_recalc = 1;
} else
context.botl = TRUE;
/* polearms behave differently when not mounted */