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
+1 -1
View File
@@ -2122,7 +2122,7 @@ wiz_intrinsic(void)
def_feedback: def_feedback:
if (p != GLIB) if (p != GLIB)
incr_itimeout(&u.uprops[p].intrinsic, amt); incr_itimeout(&u.uprops[p].intrinsic, amt);
display.botl = 1; /* have pline() do a status update */ display.botl = TRUE; /* have pline() do a status update */
pline("Timeout for %s %s %d.", propname, pline("Timeout for %s %s %d.", propname,
oldtimeout ? "increased by" : "set to", amt); oldtimeout ? "increased by" : "set to", amt);
break; break;
+1 -1
View File
@@ -1096,7 +1096,7 @@ use_pick_axe2(struct obj *obj)
You("hit yourself with %s.", yname(uwep)); You("hit yourself with %s.", yname(uwep));
Sprintf(buf, "%s own %s", uhis(), OBJ_NAME(objects[obj->otyp])); Sprintf(buf, "%s own %s", uhis(), OBJ_NAME(objects[obj->otyp]));
losehp(Maybe_Half_Phys(dam), buf, KILLED_BY); losehp(Maybe_Half_Phys(dam), buf, KILLED_BY);
display.botl = 1; display.botl = TRUE;
return ECMD_TIME; return ECMD_TIME;
} else if (u.dz == 0) { } else if (u.dz == 0) {
confdir(FALSE); confdir(FALSE);
+2 -2
View File
@@ -1670,7 +1670,7 @@ docrt_flags(int refresh_flags)
/* perm_invent */ /* perm_invent */
update_inventory(); update_inventory();
/* status */ /* status */
display.botlx = 1; /* force a redraw of the bottom lines */ display.botlx = TRUE; /* force a redraw of the bottom lines */
/* note: caller needs to call bot() to actually redraw status */ /* note: caller needs to call bot() to actually redraw status */
} }
gp.program_state.in_docrt = FALSE; gp.program_state.in_docrt = FALSE;
@@ -2045,7 +2045,7 @@ cls(void)
return; return;
in_cls = TRUE; in_cls = TRUE;
display_nhwindow(WIN_MESSAGE, FALSE); /* flush messages */ display_nhwindow(WIN_MESSAGE, FALSE); /* flush messages */
display.botlx = 1; /* force update of botl window */ display.botlx = TRUE; /* force update of botl window */
clear_nhwindow(WIN_MAP); /* clear physical screen */ clear_nhwindow(WIN_MAP); /* clear physical screen */
clear_glyph_buffer(); /* force gbuf[][].glyph to unexplored */ clear_glyph_buffer(); /* force gbuf[][].glyph to unexplored */
+2 -2
View File
@@ -2377,7 +2377,7 @@ set_wounded_legs(long side, int timex)
* You still call this function, but don't lose hp. * You still call this function, but don't lose hp.
* Caller is also responsible for adjusting messages. * Caller is also responsible for adjusting messages.
*/ */
display.botl = 1; display.botl = TRUE;
if (!Wounded_legs) if (!Wounded_legs)
ATEMP(A_DEX)--; ATEMP(A_DEX)--;
@@ -2397,7 +2397,7 @@ heal_legs(
int how) /* 0: ordinary, 1: dismounting steed, 2: limbs turn to stone */ int how) /* 0: ordinary, 1: dismounting steed, 2: limbs turn to stone */
{ {
if (Wounded_legs) { if (Wounded_legs) {
display.botl = 1; display.botl = TRUE;
if (ATEMP(A_DEX) < 0) if (ATEMP(A_DEX) < 0)
ATEMP(A_DEX)++; ATEMP(A_DEX)++;
+14 -14
View File
@@ -213,7 +213,7 @@ Boots_on(void)
* so uarmf could be Null below; status line * so uarmf could be Null below; status line
* gets updated during brief interval they're * gets updated during brief interval they're
* worn so hero and player learn enchantment */ * worn so hero and player learn enchantment */
display.botl = 1; /* status hilites might mark AC changed */ display.botl = TRUE; /* status hilites might mark AC changed */
makeknown(uarmf->otyp); makeknown(uarmf->otyp);
float_up(); float_up();
if (Levitation) if (Levitation)
@@ -428,7 +428,7 @@ Helmet_on(void)
but it takes trained arrogance to pull it off, and the actual but it takes trained arrogance to pull it off, and the actual
enchantment of the hat is irrelevant */ enchantment of the hat is irrelevant */
ABON(A_CHA) += (Role_if(PM_WIZARD) ? 1 : -1); ABON(A_CHA) += (Role_if(PM_WIZARD) ? 1 : -1);
display.botl = 1; display.botl = TRUE;
makeknown(uarmh->otyp); makeknown(uarmh->otyp);
break; break;
case HELM_OF_OPPOSITE_ALIGNMENT: case HELM_OF_OPPOSITE_ALIGNMENT:
@@ -460,7 +460,7 @@ Helmet_on(void)
else if (uarmh->bknown) else if (uarmh->bknown)
update_inventory(); /* keep bknown as-is; display the curse */ update_inventory(); /* keep bknown as-is; display the curse */
} }
display.botl = 1; /* reveal new alignment or INT & WIS */ display.botl = TRUE; /* reveal new alignment or INT & WIS */
if (Hallucination) { if (Hallucination) {
pline("My brain hurts!"); /* Monty Python's Flying Circus */ pline("My brain hurts!"); /* Monty Python's Flying Circus */
} else if (uarmh && uarmh->otyp == DUNCE_CAP) { } else if (uarmh && uarmh->otyp == DUNCE_CAP) {
@@ -499,12 +499,12 @@ Helmet_off(void)
case ORCISH_HELM: case ORCISH_HELM:
break; break;
case DUNCE_CAP: case DUNCE_CAP:
display.botl = 1; display.botl = TRUE;
break; break;
case CORNUTHAUM: case CORNUTHAUM:
if (!gc.context.takeoff.cancelled_don) { if (!gc.context.takeoff.cancelled_don) {
ABON(A_CHA) += (Role_if(PM_WIZARD) ? -1 : 1); ABON(A_CHA) += (Role_if(PM_WIZARD) ? -1 : 1);
display.botl = 1; display.botl = TRUE;
} }
break; break;
case HELM_OF_TELEPATHY: case HELM_OF_TELEPATHY:
@@ -555,7 +555,7 @@ Gloves_on(void)
break; break;
case GAUNTLETS_OF_POWER: case GAUNTLETS_OF_POWER:
makeknown(uarmg->otyp); makeknown(uarmg->otyp);
display.botl = 1; /* taken care of in attrib.c */ display.botl = TRUE; /* taken care of in attrib.c */
break; break;
case GAUNTLETS_OF_DEXTERITY: case GAUNTLETS_OF_DEXTERITY:
adj_abon(uarmg, uarmg->spe); adj_abon(uarmg, uarmg->spe);
@@ -629,7 +629,7 @@ Gloves_off(void)
break; break;
case GAUNTLETS_OF_POWER: case GAUNTLETS_OF_POWER:
makeknown(uarmg->otyp); makeknown(uarmg->otyp);
display.botl = 1; /* taken care of in attrib.c */ display.botl = TRUE; /* taken care of in attrib.c */
break; break;
case GAUNTLETS_OF_DEXTERITY: case GAUNTLETS_OF_DEXTERITY:
if (!gc.context.takeoff.cancelled_don) if (!gc.context.takeoff.cancelled_don)
@@ -664,7 +664,7 @@ Gloves_off(void)
wielding_corpse(uswapwep, gloves, on_purpose); wielding_corpse(uswapwep, gloves, on_purpose);
if (condtests[bl_bareh].enabled) if (condtests[bl_bareh].enabled)
display.botl = 1; display.botl = TRUE;
return 0; return 0;
} }
@@ -959,7 +959,7 @@ Amulet_on(void)
makeknown(AMULET_OF_CHANGE); makeknown(AMULET_OF_CHANGE);
You("are suddenly very %s!", You("are suddenly very %s!",
flags.female ? "feminine" : "masculine"); flags.female ? "feminine" : "masculine");
display.botl = 1; display.botl = TRUE;
newsym(u.ux, u.uy); /* glyphmon flag and tile may have gone newsym(u.ux, u.uy); /* glyphmon flag and tile may have gone
* from male to female or vice versa */ * from male to female or vice versa */
} else { } else {
@@ -1140,7 +1140,7 @@ adjust_attrib(struct obj *obj, int which, int val)
already discovered, both handled by learnring()] */ already discovered, both handled by learnring()] */
if (observable || !extremeattr(which)) if (observable || !extremeattr(which))
learnring(obj, observable); learnring(obj, observable);
display.botl = 1; display.botl = TRUE;
} }
void void
@@ -2118,7 +2118,7 @@ accessory_or_armor_on(struct obj *obj)
You("are suddenly overcome with shame and change your mind."); You("are suddenly overcome with shame and change your mind.");
u.ublessed = 0; /* lose your god's protection */ u.ublessed = 0; /* lose your god's protection */
makeknown(obj->otyp); makeknown(obj->otyp);
display.botl = 1; /* for AC after zeroing u.ublessed */ display.botl = TRUE; /* for AC after zeroing u.ublessed */
return ECMD_TIME; return ECMD_TIME;
} }
} else { } else {
@@ -2391,7 +2391,7 @@ find_ac(void)
if (uac != u.uac) { if (uac != u.uac) {
u.uac = uac; u.uac = uac;
display.botl = 1; display.botl = TRUE;
#if 0 #if 0
/* these could conceivably be achieved out of order (by being near /* these could conceivably be achieved out of order (by being near
threshold and putting on +N dragon scale mail from bones, for threshold and putting on +N dragon scale mail from bones, for
@@ -3120,7 +3120,7 @@ adj_abon(register struct obj *otmp, register schar delta)
makeknown(uarmg->otyp); makeknown(uarmg->otyp);
ABON(A_DEX) += (delta); ABON(A_DEX) += (delta);
} }
display.botl = 1; display.botl = TRUE;
} }
if (uarmh && uarmh == otmp && otmp->otyp == HELM_OF_BRILLIANCE) { if (uarmh && uarmh == otmp && otmp->otyp == HELM_OF_BRILLIANCE) {
if (delta) { if (delta) {
@@ -3128,7 +3128,7 @@ adj_abon(register struct obj *otmp, register schar delta)
ABON(A_INT) += (delta); ABON(A_INT) += (delta);
ABON(A_WIS) += (delta); ABON(A_WIS) += (delta);
} }
display.botl = 1; display.botl = TRUE;
} }
} }
+8 -8
View File
@@ -654,7 +654,7 @@ eat_brains(
ABASE(A_INT) += rnd(4); ABASE(A_INT) += rnd(4);
if (ABASE(A_INT) > AMAX(A_INT)) if (ABASE(A_INT) > AMAX(A_INT))
ABASE(A_INT) = AMAX(A_INT); ABASE(A_INT) = AMAX(A_INT);
display.botl = 1; display.botl = TRUE;
} }
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
*dmg_p += xtra_dmg; *dmg_p += xtra_dmg;
@@ -1085,7 +1085,7 @@ eye_of_newt_buzz(void)
} }
if (old_uen != u.uen) { if (old_uen != u.uen) {
You_feel("a mild buzz."); You_feel("a mild buzz.");
display.botl = 1; display.botl = TRUE;
} }
} }
} }
@@ -1124,7 +1124,7 @@ cpostfx(int pm)
else else
u.uhp = u.uhpmax; u.uhp = u.uhpmax;
make_blinded(0L, !u.ucreamed); make_blinded(0L, !u.ucreamed);
display.botl = 1; display.botl = TRUE;
check_intrinsics = TRUE; /* might also convey poison resistance */ check_intrinsics = TRUE; /* might also convey poison resistance */
break; break;
case PM_STALKER: case PM_STALKER:
@@ -2240,7 +2240,7 @@ eataccessory(struct obj *otmp)
(typ == RIN_PROTECTION) ? otmp->spe (typ == RIN_PROTECTION) ? otmp->spe
: 2, /* fixed amount for amulet */ : 2, /* fixed amount for amulet */
typ); typ);
display.botl = 1; display.botl = TRUE;
break; break;
case RIN_FREE_ACTION: case RIN_FREE_ACTION:
/* Give sleep resistance instead */ /* Give sleep resistance instead */
@@ -2256,7 +2256,7 @@ eataccessory(struct obj *otmp)
change_sex(); change_sex();
You("are suddenly very %s!", You("are suddenly very %s!",
flags.female ? "feminine" : "masculine"); flags.female ? "feminine" : "masculine");
display.botl = 1; display.botl = TRUE;
break; break;
case AMULET_OF_UNCHANGING: case AMULET_OF_UNCHANGING:
/* un-change: it's a pun */ /* un-change: it's a pun */
@@ -3204,7 +3204,7 @@ unfaint(void)
if (u.uhs > FAINTING) if (u.uhs > FAINTING)
u.uhs = FAINTING; u.uhs = FAINTING;
stop_occupation(); stop_occupation();
display.botl = 1; display.botl = TRUE;
return 0; return 0;
} }
@@ -3301,7 +3301,7 @@ newuhs(boolean incr)
now uhunger becomes more negative at a slower rate */ now uhunger becomes more negative at a slower rate */
} else if (u.uhunger < -(100 + 10 * (int) ACURR(A_CON))) { } else if (u.uhunger < -(100 + 10 * (int) ACURR(A_CON))) {
u.uhs = STARVED; u.uhs = STARVED;
display.botl = 1; display.botl = TRUE;
bot(); bot();
You("die from starvation."); You("die from starvation.");
gk.killer.format = KILLED_BY; gk.killer.format = KILLED_BY;
@@ -3365,7 +3365,7 @@ newuhs(boolean incr)
break; break;
} }
u.uhs = newhs; u.uhs = newhs;
display.botl = 1; display.botl = TRUE;
bot(); bot();
if ((Upolyd ? u.mh : u.uhp) < 1) { if ((Upolyd ? u.mh : u.uhp) < 1) {
You("die from hunger and exhaustion."); You("die from hunger and exhaustion.");
+1 -1
View File
@@ -1537,7 +1537,7 @@ done(int how)
negative (-1 is used as a flag in some circumstances negative (-1 is used as a flag in some circumstances
which don't apply when actually dying due to HP loss) */ which don't apply when actually dying due to HP loss) */
u.uhp = u.mh = 0; u.uhp = u.mh = 0;
display.botl = 1; display.botl = TRUE;
} }
} }
if (Lifesaved && (how <= GENOCIDED)) { if (Lifesaved && (how <= GENOCIDED)) {
+1 -1
View File
@@ -630,7 +630,7 @@ explode(
u.mh -= damu; u.mh -= damu;
else else
u.uhp -= damu; u.uhp -= damu;
display.botl = 1; display.botl = TRUE;
} }
/* You resisted the damage, lets not keep that to ourselves */ /* You resisted the damage, lets not keep that to ourselves */
+1 -1
View File
@@ -259,7 +259,7 @@ drinkfountain(void)
for (ii = 0; ii < A_MAX; ii++) for (ii = 0; ii < A_MAX; ii++)
if (ABASE(ii) < AMAX(ii)) { if (ABASE(ii) < AMAX(ii)) {
ABASE(ii) = AMAX(ii); ABASE(ii) = AMAX(ii);
display.botl = 1; display.botl = TRUE;
} }
/* gain ability, blessed if "natural" luck is high */ /* gain ability, blessed if "natural" luck is high */
i = rn2(A_MAX); /* start at a random attribute */ i = rn2(A_MAX); /* start at a random attribute */
+4 -4
View File
@@ -970,7 +970,7 @@ void
addinv_core1(struct obj *obj) addinv_core1(struct obj *obj)
{ {
if (obj->oclass == COIN_CLASS) { if (obj->oclass == COIN_CLASS) {
display.botl = 1; display.botl = TRUE;
} else if (obj->otyp == AMULET_OF_YENDOR) { } else if (obj->otyp == AMULET_OF_YENDOR) {
if (u.uhave.amulet) if (u.uhave.amulet)
impossible("already have amulet?"); impossible("already have amulet?");
@@ -1330,7 +1330,7 @@ void
freeinv_core(struct obj *obj) freeinv_core(struct obj *obj)
{ {
if (obj->oclass == COIN_CLASS) { if (obj->oclass == COIN_CLASS) {
display.botl = 1; display.botl = TRUE;
return; return;
} else if (obj->otyp == AMULET_OF_YENDOR) { } else if (obj->otyp == AMULET_OF_YENDOR) {
if (!u.uhave.amulet) if (!u.uhave.amulet)
@@ -1361,7 +1361,7 @@ freeinv_core(struct obj *obj)
curse(obj); curse(obj);
} else if (confers_luck(obj)) { } else if (confers_luck(obj)) {
set_moreluck(); set_moreluck();
display.botl = 1; display.botl = TRUE;
} else if (obj->otyp == FIGURINE && obj->timed) { } else if (obj->otyp == FIGURINE && obj->timed) {
(void) stop_timer(FIG_TRANSFORM, obj_to_any(obj)); (void) stop_timer(FIG_TRANSFORM, obj_to_any(obj));
} }
@@ -1992,7 +1992,7 @@ getobj(
continue; 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 (otmp && !gi.in_doagain) {
if (cntgiven && cnt > 0) if (cntgiven && cnt > 0)
cmdq_add_int(CQ_REPEAT, cnt); cmdq_add_int(CQ_REPEAT, cnt);
+10 -10
View File
@@ -261,7 +261,7 @@ expels(
struct permonst *mdat, /* if mtmp is polymorphed, mdat != mtmp->data */ struct permonst *mdat, /* if mtmp is polymorphed, mdat != mtmp->data */
boolean message) boolean message)
{ {
display.botl = 1; display.botl = TRUE;
if (message) { if (message) {
if (digests(mdat)) { if (digests(mdat)) {
You("get regurgitated!"); You("get regurgitated!");
@@ -1173,7 +1173,7 @@ hitmu(register struct monst *mtmp, register struct attack *mattk)
*hpmax_p = lowerlimit; *hpmax_p = lowerlimit;
/* else unlikely... /* else unlikely...
* already at or below minimum threshold; do nothing */ * already at or below minimum threshold; do nothing */
display.botl = 1; display.botl = TRUE;
} }
mdamageu(mtmp, mhm.damage); mdamageu(mtmp, mhm.damage);
@@ -1811,7 +1811,7 @@ gazemu(struct monst *mtmp, struct attack *mattk)
void void
mdamageu(struct monst *mtmp, int n) mdamageu(struct monst *mtmp, int n)
{ {
display.botl = 1; display.botl = TRUE;
if (Upolyd) { if (Upolyd) {
u.mh -= n; u.mh -= n;
if (u.mh < 1) if (u.mh < 1)
@@ -2089,13 +2089,13 @@ doseduce(struct monst *mon)
You("are down in the dumps."); You("are down in the dumps.");
(void) adjattrib(A_CON, -1, TRUE); (void) adjattrib(A_CON, -1, TRUE);
exercise(A_CON, FALSE); exercise(A_CON, FALSE);
display.botl = 1; display.botl = TRUE;
break; break;
case 2: case 2:
Your("senses are dulled."); Your("senses are dulled.");
(void) adjattrib(A_WIS, -1, TRUE); (void) adjattrib(A_WIS, -1, TRUE);
exercise(A_WIS, FALSE); exercise(A_WIS, FALSE);
display.botl = 1; display.botl = TRUE;
break; break;
case 3: case 3:
if (!resists_drli(&gy.youmonst)) { if (!resists_drli(&gy.youmonst)) {
@@ -2133,13 +2133,13 @@ doseduce(struct monst *mon)
You_feel("good enough to do it again."); You_feel("good enough to do it again.");
(void) adjattrib(A_CON, 1, TRUE); (void) adjattrib(A_CON, 1, TRUE);
exercise(A_CON, TRUE); exercise(A_CON, TRUE);
display.botl = 1; display.botl = TRUE;
break; break;
case 2: case 2:
You("will always remember %s...", noit_mon_nam(mon)); You("will always remember %s...", noit_mon_nam(mon));
(void) adjattrib(A_WIS, 1, TRUE); (void) adjattrib(A_WIS, 1, TRUE);
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
display.botl = 1; display.botl = TRUE;
break; break;
case 3: case 3:
pline("That was a very educational experience."); pline("That was a very educational experience.");
@@ -2152,7 +2152,7 @@ doseduce(struct monst *mon)
if (Upolyd) if (Upolyd)
u.mh = u.mhmax; u.mh = u.mhmax;
exercise(A_STR, TRUE); exercise(A_STR, TRUE);
display.botl = 1; display.botl = TRUE;
break; break;
} }
} }
@@ -2186,7 +2186,7 @@ doseduce(struct monst *mon)
pline("%s takes %ld %s for services rendered!", noit_Monnam(mon), pline("%s takes %ld %s for services rendered!", noit_Monnam(mon),
cost, currency(cost)); cost, currency(cost));
money2mon(mon, cost); money2mon(mon, cost);
display.botl = 1; display.botl = TRUE;
} }
} }
if (!rn2(25)) if (!rn2(25))
@@ -2458,7 +2458,7 @@ cloneu(void)
mon->mhpmax = u.mhmax; mon->mhpmax = u.mhmax;
mon->mhp = u.mh / 2; mon->mhp = u.mh / 2;
u.mh -= mon->mhp; u.mh -= mon->mhp;
display.botl = 1; display.botl = TRUE;
return mon; return mon;
} }
+1 -1
View File
@@ -377,7 +377,7 @@ bribe(struct monst *mtmp)
You("give %s %ld %s.", mon_nam(mtmp), offer, currency(offer)); You("give %s %ld %s.", mon_nam(mtmp), offer, currency(offer));
} }
(void) money2mon(mtmp, offer); (void) money2mon(mtmp, offer);
display.botl = 1; display.botl = TRUE;
return offer; return offer;
} }
+1 -1
View File
@@ -3126,7 +3126,7 @@ set_ustuck(struct monst *mtmp)
mon_nam(mtmp), mdistu(mtmp)); mon_nam(mtmp), mdistu(mtmp));
} }
display.botl = 1; display.botl = TRUE;
u.ustuck = mtmp; u.ustuck = mtmp;
if (!u.ustuck) { if (!u.ustuck) {
u.uswallow = 0; u.uswallow = 0;
+1 -1
View File
@@ -4262,7 +4262,7 @@ readobjnam_postparse1(struct _readobjnam_data *d)
d->otmp = mksobj(GOLD_PIECE, FALSE, FALSE); d->otmp = mksobj(GOLD_PIECE, FALSE, FALSE);
d->otmp->quan = (long) d->cnt; d->otmp->quan = (long) d->cnt;
d->otmp->owt = weight(d->otmp); d->otmp->owt = weight(d->otmp);
display.botl = 1; display.botl = TRUE;
return 3; /*return otmp;*/ return 3; /*return otmp;*/
} }
+3 -3
View File
@@ -1841,7 +1841,7 @@ pickup_object(
/* Whats left of the special case for gold :-) */ /* Whats left of the special case for gold :-) */
if (obj->oclass == COIN_CLASS) if (obj->oclass == COIN_CLASS)
display.botl = 1; display.botl = TRUE;
if (obj->quan != count && obj->otyp != LOADSTONE) if (obj->quan != count && obj->otyp != LOADSTONE)
obj = splitobj(obj, count); obj = splitobj(obj, count);
@@ -1960,7 +1960,7 @@ encumber_msg(void)
newcap == 4 ? "can barely" : "can't even"); newcap == 4 ? "can barely" : "can't even");
break; break;
} }
display.botl = 1; display.botl = TRUE;
} else if (go.oldcap > newcap) { } else if (go.oldcap > newcap) {
switch (newcap) { switch (newcap) {
case 0: case 0:
@@ -1977,7 +1977,7 @@ encumber_msg(void)
stagger(gy.youmonst.data, "stagger")); stagger(gy.youmonst.data, "stagger"));
break; break;
} }
display.botl = 1; display.botl = TRUE;
} }
go.oldcap = newcap; go.oldcap = newcap;
+9 -9
View File
@@ -445,7 +445,7 @@ newman(void)
make_slimed(10L, (const char *) 0); make_slimed(10L, (const char *) 0);
} }
display.botl = 1; display.botl = TRUE;
see_monsters(); see_monsters();
(void) encumber_msg(); (void) encumber_msg();
@@ -640,7 +640,7 @@ polyself(int psflags)
of evaporation due to over enchanting */ of evaporation due to over enchanting */
uarm->otyp += GRAY_DRAGON_SCALES - GRAY_DRAGON_SCALE_MAIL; uarm->otyp += GRAY_DRAGON_SCALES - GRAY_DRAGON_SCALE_MAIL;
uarm->dknown = 1; uarm->dknown = 1;
display.botl = 1; /* AC is changing */ display.botl = TRUE; /* AC is changing */
} }
uskin = uarm; uskin = uarm;
uarm = (struct obj *) 0; uarm = (struct obj *) 0;
@@ -1002,7 +1002,7 @@ polymon(int mntmp)
} }
check_strangling(TRUE); /* maybe start strangling */ check_strangling(TRUE); /* maybe start strangling */
display.botl = 1; display.botl = TRUE;
gv.vision_full_recalc = 1; gv.vision_full_recalc = 1;
see_monsters(); see_monsters();
(void) encumber_msg(); (void) encumber_msg();
@@ -1380,7 +1380,7 @@ rehumanize(void)
} }
nomul(0); nomul(0);
display.botl = 1; display.botl = TRUE;
gv.vision_full_recalc = 1; gv.vision_full_recalc = 1;
(void) encumber_msg(); (void) encumber_msg();
if (was_flying && !Flying && u.usteed) if (was_flying && !Flying && u.usteed)
@@ -1405,7 +1405,7 @@ dobreathe(void)
return ECMD_OK; return ECMD_OK;
} }
u.uen -= 15; u.uen -= 15;
display.botl = 1; display.botl = TRUE;
if (!getdir((char *) 0)) if (!getdir((char *) 0))
return ECMD_CANCEL; return ECMD_CANCEL;
@@ -1602,7 +1602,7 @@ dosummon(void)
return ECMD_OK; return ECMD_OK;
} }
u.uen -= 10; u.uen -= 10;
display.botl = 1; display.botl = TRUE;
You("call upon your brethren for help!"); You("call upon your brethren for help!");
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
@@ -1643,7 +1643,7 @@ dogaze(void)
return ECMD_OK; return ECMD_OK;
} }
u.uen -= 15; u.uen -= 15;
display.botl = 1; display.botl = TRUE;
for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) { for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) {
if (DEADMONSTER(mtmp)) if (DEADMONSTER(mtmp))
@@ -1878,7 +1878,7 @@ domindblast(void)
return ECMD_OK; return ECMD_OK;
} }
u.uen -= 10; u.uen -= 10;
display.botl = 1; display.botl = TRUE;
You("concentrate."); You("concentrate.");
pline("A wave of psychic energy pours out."); pline("A wave of psychic energy pours out.");
@@ -2158,7 +2158,7 @@ ugolemeffects(int damtype, int dam)
u.mh += heal; u.mh += heal;
if (u.mh > u.mhmax) if (u.mh > u.mhmax)
u.mh = u.mhmax; u.mh = u.mhmax;
display.botl = 1; display.botl = TRUE;
pline("Strangely, you feel better than before."); pline("Strangely, you feel better than before.");
exercise(A_STR, TRUE); exercise(A_STR, TRUE);
} }
+12 -12
View File
@@ -655,7 +655,7 @@ peffect_restore_ability(struct obj *otmp)
WEAK or worse, but that's handled via ATEMP(A_STR) now */ WEAK or worse, but that's handled via ATEMP(A_STR) now */
if (ABASE(i) < lim) { if (ABASE(i) < lim) {
ABASE(i) = lim; ABASE(i) = lim;
display.botl = 1; display.botl = TRUE;
/* only first found if not blessed */ /* only first found if not blessed */
if (!otmp->blessed) if (!otmp->blessed)
break; break;
@@ -1232,7 +1232,7 @@ peffect_gain_energy(struct obj *otmp)
u.uen = u.uenmax; u.uen = u.uenmax;
else if (u.uen <= 0) else if (u.uen <= 0)
u.uen = 0; u.uen = 0;
display.botl = 1; display.botl = TRUE;
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
} }
@@ -1433,7 +1433,7 @@ healup(int nhp, int nxtra, boolean curesick, boolean cureblind)
make_vomiting(0L, TRUE); make_vomiting(0L, TRUE);
make_sick(0L, (char *) 0, TRUE, SICK_ALL); make_sick(0L, (char *) 0, TRUE, SICK_ALL);
} }
display.botl = 1; display.botl = TRUE;
return; return;
} }
@@ -1936,7 +1936,7 @@ potionbreathe(struct obj *obj)
ABASE(i)++; ABASE(i)++;
/* only first found if not blessed */ /* only first found if not blessed */
isdone = !(obj->blessed); isdone = !(obj->blessed);
display.botl = 1; display.botl = TRUE;
} }
if (++i >= A_MAX) if (++i >= A_MAX)
i = 0; i = 0;
@@ -1945,24 +1945,24 @@ potionbreathe(struct obj *obj)
break; break;
case POT_FULL_HEALING: case POT_FULL_HEALING:
if (Upolyd && u.mh < u.mhmax) if (Upolyd && u.mh < u.mhmax)
u.mh++, display.botl = 1; u.mh++, display.botl = TRUE;
if (u.uhp < u.uhpmax) if (u.uhp < u.uhpmax)
u.uhp++, display.botl = 1; u.uhp++, display.botl = TRUE;
cureblind = TRUE; cureblind = TRUE;
/*FALLTHRU*/ /*FALLTHRU*/
case POT_EXTRA_HEALING: case POT_EXTRA_HEALING:
if (Upolyd && u.mh < u.mhmax) if (Upolyd && u.mh < u.mhmax)
u.mh++, display.botl = 1; u.mh++, display.botl = TRUE;
if (u.uhp < u.uhpmax) if (u.uhp < u.uhpmax)
u.uhp++, display.botl = 1; u.uhp++, display.botl = TRUE;
if (!obj->cursed) if (!obj->cursed)
cureblind = TRUE; cureblind = TRUE;
/*FALLTHRU*/ /*FALLTHRU*/
case POT_HEALING: case POT_HEALING:
if (Upolyd && u.mh < u.mhmax) if (Upolyd && u.mh < u.mhmax)
u.mh++, display.botl = 1; u.mh++, display.botl = TRUE;
if (u.uhp < u.uhpmax) if (u.uhp < u.uhpmax)
u.uhp++, display.botl = 1; u.uhp++, display.botl = TRUE;
if (obj->blessed) if (obj->blessed)
cureblind = TRUE; cureblind = TRUE;
if (cureblind) { if (cureblind) {
@@ -1984,7 +1984,7 @@ potionbreathe(struct obj *obj)
else else
u.uhp -= 5; u.uhp -= 5;
} }
display.botl = 1; display.botl = TRUE;
exercise(A_CON, FALSE); exercise(A_CON, FALSE);
} }
break; break;
@@ -2831,7 +2831,7 @@ split_mon(
if (mtmp2) { if (mtmp2) {
mtmp2->mhpmax = u.mhmax / 2; mtmp2->mhpmax = u.mhmax / 2;
u.mhmax -= mtmp2->mhpmax; u.mhmax -= mtmp2->mhpmax;
display.botl = 1; display.botl = TRUE;
You("multiply%s!", reason); You("multiply%s!", reason);
} }
} else { } else {
+7 -7
View File
@@ -382,7 +382,7 @@ fix_worst_trouble(int trouble)
} }
You("can breathe again."); You("can breathe again.");
Strangled = 0; Strangled = 0;
display.botl = 1; display.botl = TRUE;
break; break;
case TROUBLE_LAVA: case TROUBLE_LAVA:
/* teleport should always succeed, but if not, just untrap them */ /* teleport should always succeed, but if not, just untrap them */
@@ -397,7 +397,7 @@ fix_worst_trouble(int trouble)
case TROUBLE_HUNGRY: case TROUBLE_HUNGRY:
Your("%s feels content.", body_part(STOMACH)); Your("%s feels content.", body_part(STOMACH));
init_uhunger(); init_uhunger();
display.botl = 1; display.botl = TRUE;
break; break;
case TROUBLE_SICK: case TROUBLE_SICK:
You_feel("better."); You_feel("better.");
@@ -425,14 +425,14 @@ fix_worst_trouble(int trouble)
if (u.uhpmax > u.uhppeak) if (u.uhpmax > u.uhppeak)
u.uhppeak = u.uhpmax; u.uhppeak = u.uhpmax;
u.uhp = u.uhpmax; u.uhp = u.uhpmax;
display.botl = 1; display.botl = TRUE;
break; break;
case TROUBLE_COLLAPSING: case TROUBLE_COLLAPSING:
/* override Fixed_abil; uncurse that if feasible */ /* override Fixed_abil; uncurse that if feasible */
You_feel("%sstronger.", You_feel("%sstronger.",
(AMAX(A_STR) - ABASE(A_STR) > 6) ? "much " : ""); (AMAX(A_STR) - ABASE(A_STR) > 6) ? "much " : "");
ABASE(A_STR) = AMAX(A_STR); ABASE(A_STR) = AMAX(A_STR);
display.botl = 1; display.botl = TRUE;
if (Fixed_abil) { if (Fixed_abil) {
if ((otmp = stuck_ring(uleft, RIN_SUSTAIN_ABILITY)) != 0) { if ((otmp = stuck_ring(uleft, RIN_SUSTAIN_ABILITY)) != 0) {
if (otmp == uleft) if (otmp == uleft)
@@ -536,7 +536,7 @@ fix_worst_trouble(int trouble)
for (i = 0; i < A_MAX; i++) { for (i = 0; i < A_MAX; i++) {
if (ABASE(i) < AMAX(i)) { if (ABASE(i) < AMAX(i)) {
ABASE(i) = AMAX(i); ABASE(i) = AMAX(i);
display.botl = 1; display.botl = TRUE;
} }
} }
(void) encumber_msg(); (void) encumber_msg();
@@ -1241,7 +1241,7 @@ pleased(aligntyp g_align)
u.mh = u.mhmax; u.mh = u.mhmax;
if (ABASE(A_STR) < AMAX(A_STR)) { if (ABASE(A_STR) < AMAX(A_STR)) {
ABASE(A_STR) = AMAX(A_STR); ABASE(A_STR) = AMAX(A_STR);
display.botl = 1; /* before potential message */ display.botl = TRUE; /* before potential message */
(void) encumber_msg(); (void) encumber_msg();
} }
if (u.uhunger < 900) if (u.uhunger < 900)
@@ -1256,7 +1256,7 @@ pleased(aligntyp g_align)
rather than issuing a pat-on-head */ rather than issuing a pat-on-head */
u.ucreamed = 0; u.ucreamed = 0;
make_blinded(0L, TRUE); make_blinded(0L, TRUE);
display.botl = 1; display.botl = TRUE;
break; break;
case 4: { case 4: {
register struct obj *otmp; register struct obj *otmp;
+1 -1
View File
@@ -1693,7 +1693,7 @@ seffect_charging(struct obj **sobjp)
else else
u.uen = u.uenmax; /* otherwise restore current to max */ u.uen = u.uenmax; /* otherwise restore current to max */
} }
display.botl = 1; display.botl = TRUE;
return; return;
} }
/* known = TRUE; -- handled inline here */ /* known = TRUE; -- handled inline here */
+1 -1
View File
@@ -733,7 +733,7 @@ doconsult(struct monst *oracl)
break; break;
} }
money2mon(oracl, (long) u_pay); money2mon(oracl, (long) u_pay);
display.botl = 1; display.botl = TRUE;
if (!u.uevent.major_oracle && !u.uevent.minor_oracle) if (!u.uevent.major_oracle && !u.uevent.minor_oracle)
record_achievement(ACH_ORCL); record_achievement(ACH_ORCL);
add_xpts = 0; /* first oracle of each type gives experience points */ add_xpts = 0; /* first oracle of each type gives experience points */
+8 -8
View File
@@ -124,7 +124,7 @@ money2mon(struct monst* mon, long amount)
remove_worn_item(ygold, FALSE); /* quiver */ remove_worn_item(ygold, FALSE); /* quiver */
freeinv(ygold); freeinv(ygold);
add_to_minv(mon, ygold); add_to_minv(mon, ygold);
display.botl = 1; display.botl = TRUE;
return amount; return amount;
} }
@@ -158,7 +158,7 @@ money2u(struct monst* mon, long amount)
dropy(mongold); dropy(mongold);
} else { } else {
addinv(mongold); addinv(mongold);
display.botl = 1; display.botl = TRUE;
} }
} }
@@ -1179,7 +1179,7 @@ pay(long tmp, register struct monst* shkp)
money2mon(shkp, balance); money2mon(shkp, balance);
else if (balance < 0) else if (balance < 0)
money2u(shkp, -balance); money2u(shkp, -balance);
display.botl = 1; display.botl = TRUE;
if (robbed) { if (robbed) {
robbed -= tmp; robbed -= tmp;
if (robbed < 0) if (robbed < 0)
@@ -1674,7 +1674,7 @@ dopay(void)
eshkp->debit = 0L; eshkp->debit = 0L;
eshkp->loan = 0L; eshkp->loan = 0L;
You("pay that debt."); You("pay that debt.");
display.botl = 1; display.botl = TRUE;
} else { } else {
dtmp -= eshkp->credit; dtmp -= eshkp->credit;
eshkp->credit = 0L; eshkp->credit = 0L;
@@ -1683,7 +1683,7 @@ dopay(void)
eshkp->loan = 0L; eshkp->loan = 0L;
pline("That debt is partially offset by your credit."); pline("That debt is partially offset by your credit.");
You("pay the remainder."); You("pay the remainder.");
display.botl = 1; display.botl = TRUE;
} }
paid = TRUE; paid = TRUE;
} }
@@ -2098,14 +2098,14 @@ inherits(
eshkp->robbed = 0L; eshkp->robbed = 0L;
if (umoney > 0L) { if (umoney > 0L) {
money2mon(shkp, umoney); money2mon(shkp, umoney);
display.botl = 1; display.botl = TRUE;
} }
if (!silently) if (!silently)
pline("%s %s all your possessions.", Shknam(shkp), takes); pline("%s %s all your possessions.", Shknam(shkp), takes);
taken = TRUE; taken = TRUE;
} else { } else {
money2mon(shkp, loss); money2mon(shkp, loss);
display.botl = 1; display.botl = TRUE;
if (!silently) if (!silently)
pline("%s %s the %ld %s %sowed %s.", Shknam(shkp), pline("%s %s the %ld %s %sowed %s.", Shknam(shkp),
takes, loss, currency(loss), takes, loss, currency(loss),
@@ -4730,7 +4730,7 @@ pay_for_damage(const char *dmgstr, boolean cant_mollify)
cost_of_damage = check_credit(cost_of_damage, shkp); cost_of_damage = check_credit(cost_of_damage, shkp);
if (cost_of_damage > 0L) { if (cost_of_damage > 0L) {
money2mon(shkp, cost_of_damage); money2mon(shkp, cost_of_damage);
display.botl = 1; display.botl = TRUE;
} }
pline("Mollified, %s accepts your restitution.", shkname(shkp)); pline("Mollified, %s accepts your restitution.", shkname(shkp));
/* move shk back to his home loc */ /* move shk back to his home loc */
+2 -2
View File
@@ -28,7 +28,7 @@ take_gold(void)
You_feel("a strange sensation."); You_feel("a strange sensation.");
} else { } else {
You("notice you have no gold!"); You("notice you have no gold!");
display.botl = 1; display.botl = TRUE;
} }
} }
@@ -69,7 +69,7 @@ throne_sit_effect(void)
make_blinded(0L, TRUE); make_blinded(0L, TRUE);
make_sick(0L, (char *) 0, FALSE, SICK_ALL); make_sick(0L, (char *) 0, FALSE, SICK_ALL);
heal_legs(0); heal_legs(0);
display.botl = 1; display.botl = TRUE;
break; break;
case 5: case 5:
take_gold(); take_gold();
+4 -4
View File
@@ -1203,7 +1203,7 @@ spelleffects_check(int spell, int *res, int *energy)
u.uen -= rnd(*energy); u.uen -= rnd(*energy);
if (u.uen < 0) if (u.uen < 0)
u.uen = 0; u.uen = 0;
display.botl = 1; display.botl = TRUE;
*res = ECMD_TIME; *res = ECMD_TIME;
return TRUE; return TRUE;
} else if (spellknow(spell) <= KEEN / 200) { /* 100 turns left */ } else if (spellknow(spell) <= KEEN / 200) { /* 100 turns left */
@@ -1246,7 +1246,7 @@ spelleffects_check(int spell, int *res, int *energy)
u.uen -= rnd(2 * *energy); u.uen -= rnd(2 * *energy);
if (u.uen < 0) if (u.uen < 0)
u.uen = 0; u.uen = 0;
display.botl = 1; display.botl = TRUE;
*res = ECMD_TIME; /* time is used even if spell doesn't get cast */ *res = ECMD_TIME; /* time is used even if spell doesn't get cast */
} }
@@ -1320,7 +1320,7 @@ spelleffects_check(int spell, int *res, int *energy)
if (confused || (rnd(100) > chance)) { if (confused || (rnd(100) > chance)) {
You("fail to cast the spell correctly."); You("fail to cast the spell correctly.");
u.uen -= *energy / 2; u.uen -= *energy / 2;
display.botl = 1; display.botl = TRUE;
*res = ECMD_TIME; *res = ECMD_TIME;
return TRUE; return TRUE;
} }
@@ -1343,7 +1343,7 @@ spelleffects(int spell_otyp, boolean atme, boolean force)
return res; return res;
u.uen -= energy; u.uen -= energy;
display.botl = 1; display.botl = TRUE;
exercise(A_WIS, TRUE); exercise(A_WIS, TRUE);
/* pseudo is a temporary "false" object containing the spell stats */ /* pseudo is a temporary "false" object containing the spell stats */
pseudo = mksobj(force ? spell : spellid(spell), FALSE, FALSE); pseudo = mksobj(force ? spell : spellid(spell), FALSE, FALSE);
+1 -1
View File
@@ -123,7 +123,7 @@ stealgold(register struct monst* mtmp)
if (!tele_restrict(mtmp)) if (!tele_restrict(mtmp))
(void) rloc(mtmp, RLOC_MSG); (void) rloc(mtmp, RLOC_MSG);
monflee(mtmp, 0, FALSE, FALSE); monflee(mtmp, 0, FALSE, FALSE);
display.botl = 1; display.botl = TRUE;
} }
} }
+1 -1
View File
@@ -1083,7 +1083,7 @@ dotele(
} else { } else {
/* bypassing spelleffects(); apply energy cost directly */ /* bypassing spelleffects(); apply energy cost directly */
u.uen -= energy; u.uen -= energy;
display.botl = 1; display.botl = TRUE;
} }
} }
+1 -1
View File
@@ -769,7 +769,7 @@ nh_timeout(void)
case FLYING: case FLYING:
/* timed Flying is via #wizintrinsic only */ /* timed Flying is via #wizintrinsic only */
if (was_flying && !Flying) { if (was_flying && !Flying) {
display.botl = 1; display.botl = TRUE;
You("land."); You("land.");
spoteffects(TRUE); spoteffects(TRUE);
} }
+2 -2
View File
@@ -3988,7 +3988,7 @@ mhitm_ad_phys(
exercise(A_STR, FALSE); exercise(A_STR, FALSE);
/* inflict damage now; we know it can't be fatal */ /* inflict damage now; we know it can't be fatal */
u.mh -= tmp; u.mh -= tmp;
display.botl = 1; display.botl = TRUE;
mhm->damage = 0; /* don't inflict more damage below */ mhm->damage = 0; /* don't inflict more damage below */
if (cloneu()) if (cloneu())
You("divide as %s hits you!", mon_nam(magr)); You("divide as %s hits you!", mon_nam(magr));
@@ -4218,7 +4218,7 @@ mhitm_ad_heal(
exercise(A_CON, TRUE); exercise(A_CON, TRUE);
if (Sick) if (Sick)
make_sick(0L, (char *) 0, FALSE, SICK_ALL); make_sick(0L, (char *) 0, FALSE, SICK_ALL);
display.botl = 1; display.botl = TRUE;
if (goaway) { if (goaway) {
mongone(magr); mongone(magr);
mhm->done = TRUE; mhm->done = TRUE;
+2 -2
View File
@@ -114,7 +114,7 @@ setuwep(struct obj *obj)
if (uwep == obj if (uwep == obj
&& (u_wield_art(ART_OGRESMASHER) && (u_wield_art(ART_OGRESMASHER)
|| is_art(olduwep, ART_OGRESMASHER))) || is_art(olduwep, ART_OGRESMASHER)))
display.botl = 1; display.botl = TRUE;
/* Note: Explicitly wielding a pick-axe will not give a "bashing" /* Note: Explicitly wielding a pick-axe will not give a "bashing"
* message. Wielding one via 'a'pplying it will. * message. Wielding one via 'a'pplying it will.
* 3.2.2: Wielding arbitrary objects will give bashing message too. * 3.2.2: Wielding arbitrary objects will give bashing message too.
@@ -262,7 +262,7 @@ ready_weapon(struct obj *wep)
} }
} }
if ((had_wep != (uwep != 0)) && condtests[bl_bareh].enabled) if ((had_wep != (uwep != 0)) && condtests[bl_bareh].enabled)
display.botl = 1; display.botl = TRUE;
return res; return res;
} }
+7 -7
View File
@@ -1337,19 +1337,19 @@ drain_item(struct obj *obj, boolean by_you)
case RIN_GAIN_STRENGTH: case RIN_GAIN_STRENGTH:
if ((obj->owornmask & W_RING) && u_ring) { if ((obj->owornmask & W_RING) && u_ring) {
ABON(A_STR)--; ABON(A_STR)--;
display.botl = 1; display.botl = TRUE;
} }
break; break;
case RIN_GAIN_CONSTITUTION: case RIN_GAIN_CONSTITUTION:
if ((obj->owornmask & W_RING) && u_ring) { if ((obj->owornmask & W_RING) && u_ring) {
ABON(A_CON)--; ABON(A_CON)--;
display.botl = 1; display.botl = TRUE;
} }
break; break;
case RIN_ADORNMENT: case RIN_ADORNMENT:
if ((obj->owornmask & W_RING) && u_ring) { if ((obj->owornmask & W_RING) && u_ring) {
ABON(A_CHA)--; ABON(A_CHA)--;
display.botl = 1; display.botl = TRUE;
} }
break; break;
case RIN_INCREASE_ACCURACY: case RIN_INCREASE_ACCURACY:
@@ -1362,19 +1362,19 @@ drain_item(struct obj *obj, boolean by_you)
break; break;
case RIN_PROTECTION: case RIN_PROTECTION:
if (u_ring) if (u_ring)
display.botl = 1; /* bot() will recalc u.uac */ display.botl = TRUE; /* bot() will recalc u.uac */
break; break;
case HELM_OF_BRILLIANCE: case HELM_OF_BRILLIANCE:
if ((obj->owornmask & W_ARMH) && (obj == uarmh)) { if ((obj->owornmask & W_ARMH) && (obj == uarmh)) {
ABON(A_INT)--; ABON(A_INT)--;
ABON(A_WIS)--; ABON(A_WIS)--;
display.botl = 1; display.botl = TRUE;
} }
break; break;
case GAUNTLETS_OF_DEXTERITY: case GAUNTLETS_OF_DEXTERITY:
if ((obj->owornmask & W_ARMG) && (obj == uarmg)) { if ((obj->owornmask & W_ARMG) && (obj == uarmg)) {
ABON(A_DEX)--; ABON(A_DEX)--;
display.botl = 1; display.botl = TRUE;
} }
break; break;
default: default:
@@ -3047,7 +3047,7 @@ cancel_monst(struct monst *mdef, struct obj *obj, boolean youattack,
cancel_item(otmp); cancel_item(otmp);
if (youdefend) { if (youdefend) {
display.botl = 1; /* potential AC change */ display.botl = TRUE; /* potential AC change */
find_ac(); find_ac();
/* update_inventory(); -- handled by caller */ /* update_inventory(); -- handled by caller */
} }
+3 -3
View File
@@ -1067,11 +1067,11 @@ tty_clear_nhwindow(winid window)
cw->data[i][n - 1] = '\0'; cw->data[i][n - 1] = '\0';
/*finalx[i][NOW] = finalx[i][BEFORE] = 0;*/ /*finalx[i][NOW] = finalx[i][BEFORE] = 0;*/
} }
display.botlx = 1; display.botlx = TRUE;
break; break;
case NHW_MAP: case NHW_MAP:
/* cheap -- clear the whole thing and tell nethack to redraw botl */ /* cheap -- clear the whole thing and tell nethack to redraw botl */
display.botlx = 1; display.botlx = TRUE;
/*FALLTHRU*/ /*FALLTHRU*/
case NHW_BASE: case NHW_BASE:
/* if erasing_tty_screen is True, calling sequence is /* if erasing_tty_screen is True, calling sequence is
@@ -3653,7 +3653,7 @@ docorner(
if (ymax >= (int) wins[WIN_STATUS]->offy if (ymax >= (int) wins[WIN_STATUS]->offy
&& !ystart_between_menu_pages) { && !ystart_between_menu_pages) {
/* we have wrecked the bottom line */ /* we have wrecked the bottom line */
display.botlx = 1; display.botlx = TRUE;
bot(); bot();
} }
} }