bundle the display-related hints, that tell bot() and others
that an update is required, into a struct. Remove it from context since there is no reason to save those.
This commit is contained in:
@@ -3988,7 +3988,7 @@ mhitm_ad_phys(
|
||||
exercise(A_STR, FALSE);
|
||||
/* inflict damage now; we know it can't be fatal */
|
||||
u.mh -= tmp;
|
||||
gc.context.botl = 1;
|
||||
display.botl = 1;
|
||||
mhm->damage = 0; /* don't inflict more damage below */
|
||||
if (cloneu())
|
||||
You("divide as %s hits you!", mon_nam(magr));
|
||||
@@ -4218,7 +4218,7 @@ mhitm_ad_heal(
|
||||
exercise(A_CON, TRUE);
|
||||
if (Sick)
|
||||
make_sick(0L, (char *) 0, FALSE, SICK_ALL);
|
||||
gc.context.botl = 1;
|
||||
display.botl = 1;
|
||||
if (goaway) {
|
||||
mongone(magr);
|
||||
mhm->done = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user