dochugw(mon, X)

Reverse the sense of dochugw()'s new 'X' argument. Use True for the
usual case and False for the special case rather than the other way
around.

Call the special case variant when a monster teleports so that hero
stops occupation if the monster jumps to a position where it becomes
a threat.
This commit is contained in:
PatR
2022-05-07 09:11:09 -07:00
parent 0a171bb862
commit 4fbda9ea34
4 changed files with 18 additions and 12 deletions

View File

@@ -1458,7 +1458,7 @@ makemon(
}
/* if discernable and a threat, stop fiddling while Rome burns */
if (g.occupation)
(void) dochugw(mtmp, TRUE);
(void) dochugw(mtmp, FALSE);
/* TODO: unify with teleport appears msg */
}