Another round of instance globals changes.
This commit is contained in:
10
src/steed.c
10
src/steed.c
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user