consistent use of TRUE vs 1 with botl and botlx

This commit is contained in:
nhmall
2024-01-04 23:48:38 -05:00
parent 22e52ee905
commit 49a5d043c0
30 changed files with 112 additions and 112 deletions

View File

@@ -970,7 +970,7 @@ void
addinv_core1(struct obj *obj)
{
if (obj->oclass == COIN_CLASS) {
display.botl = 1;
display.botl = TRUE;
} else if (obj->otyp == AMULET_OF_YENDOR) {
if (u.uhave.amulet)
impossible("already have amulet?");
@@ -1330,7 +1330,7 @@ void
freeinv_core(struct obj *obj)
{
if (obj->oclass == COIN_CLASS) {
display.botl = 1;
display.botl = TRUE;
return;
} else if (obj->otyp == AMULET_OF_YENDOR) {
if (!u.uhave.amulet)
@@ -1361,7 +1361,7 @@ freeinv_core(struct obj *obj)
curse(obj);
} else if (confers_luck(obj)) {
set_moreluck();
display.botl = 1;
display.botl = TRUE;
} else if (obj->otyp == FIGURINE && obj->timed) {
(void) stop_timer(FIG_TRANSFORM, obj_to_any(obj));
}
@@ -1992,7 +1992,7 @@ getobj(
continue;
}
}
display.botl = 1; /* May have changed the amount of money */
display.botl = TRUE; /* May have changed the amount of money */
if (otmp && !gi.in_doagain) {
if (cntgiven && cnt > 0)
cmdq_add_int(CQ_REPEAT, cnt);