variable 'display' causes shadow variable warnings in X11 build

display.botl      -> disp.botl
display.botlx     -> disp.botlx
display.time_botl -> disp.time_botl
This commit is contained in:
nhmall
2024-01-05 05:58:51 -05:00
parent f8230eff4b
commit 4e19221e55
45 changed files with 249 additions and 249 deletions

View File

@@ -550,7 +550,7 @@ done_timeout(int how, int which)
/* life-saved */
*intrinsic_p &= ~I_SPECIAL;
display.botl = TRUE;
disp.botl = TRUE;
}
void
@@ -716,7 +716,7 @@ nh_timeout(void)
case DEAF:
set_itimeout(&HDeaf, 1L);
make_deaf(0L, TRUE);
display.botl = TRUE;
disp.botl = TRUE;
if (!Deaf)
stop_occupation();
break;
@@ -769,7 +769,7 @@ nh_timeout(void)
case FLYING:
/* timed Flying is via #wizintrinsic only */
if (was_flying && !Flying) {
display.botl = TRUE;
disp.botl = TRUE;
You("land.");
spoteffects(TRUE);
}
@@ -915,7 +915,7 @@ fall_asleep(int how_long, boolean wakeup_msg)
/* 3.7: how_long is negative so wasn't actually incrementing the
deafness timeout when it used to be passed as-is */
incr_itimeout(&HDeaf, abs(how_long));
display.botl = TRUE;
disp.botl = TRUE;
ga.afternmv = Hear_again; /* this won't give any messages */
}
#endif
@@ -1808,7 +1808,7 @@ do_storms(void)
Soundeffect(se_kaboom_boom_boom, 80);
pline("Kaboom!!! Boom!! Boom!!");
incr_itimeout(&HDeaf, rn1(20, 30));
display.botl = TRUE;
disp.botl = TRUE;
if (!u.uinvulnerable) {
stop_occupation();
nomul(-3);