Fix the problem reported by entrez of a zombie corpse reviving and crawling out of the ground while the hero was busy doing something (searching, digging, &c) and having the hero fail to react and just keep doing whatever the thing was because the zombie was already inside the range where a monster changes from no-threat to threat. Done in the monster creation routine so any new monster (including one revived from a corpse) that is visible,&c will cause the hero's action to be interrupted. Teleport arrival probably needs this too. Only interrupts an occupation, not other voluntary multi-turn actitivy such as running or traveling. That would be trivial to change ['if (g.occupation...' to 'if ((g.occupation || multi > 0)...'] but I'm not sure whether it ought to be extended to that.
123 KiB
123 KiB