C341-1 - don't make monsters angry if they enter non-hero regions

this currently affects only regions created created by deads heros
found in bones files
This commit is contained in:
cohrs
2003-03-02 05:33:45 +00:00
parent 0f03444261
commit 0e3d283508
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ $RCSfile$ $Revision$ $Date$
General Fixes and Modified Features
-----------------------------------
setmangry should not be called when a monster enters a bones region
Platform- and/or Interface-Specific Fixes

View File

@@ -925,7 +925,7 @@ genericptr_t p2;
if (!nonliving(mtmp->data) && !breathless(mtmp->data)) {
if (cansee(mtmp->mx, mtmp->my))
pline("%s coughs!", Monnam(mtmp));
setmangry(mtmp);
if (heros_fault(reg)) setmangry(mtmp);
if (haseyes(mtmp->data) && mtmp->mcansee) {
mtmp->mblinded = 1;
mtmp->mcansee = 0;