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:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user