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

@@ -1841,7 +1841,7 @@ pickup_object(
/* Whats left of the special case for gold :-) */
if (obj->oclass == COIN_CLASS)
display.botl = TRUE;
disp.botl = TRUE;
if (obj->quan != count && obj->otyp != LOADSTONE)
obj = splitobj(obj, count);
@@ -1960,7 +1960,7 @@ encumber_msg(void)
newcap == 4 ? "can barely" : "can't even");
break;
}
display.botl = TRUE;
disp.botl = TRUE;
} else if (go.oldcap > newcap) {
switch (newcap) {
case 0:
@@ -1977,7 +1977,7 @@ encumber_msg(void)
stagger(gy.youmonst.data, "stagger"));
break;
}
display.botl = TRUE;
disp.botl = TRUE;
}
go.oldcap = newcap;