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:
@@ -2,6 +2,7 @@ $RCSfile$ $Revision$ $Date$
|
|||||||
|
|
||||||
General Fixes and Modified Features
|
General Fixes and Modified Features
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
setmangry should not be called when a monster enters a bones region
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+1
-1
@@ -925,7 +925,7 @@ genericptr_t p2;
|
|||||||
if (!nonliving(mtmp->data) && !breathless(mtmp->data)) {
|
if (!nonliving(mtmp->data) && !breathless(mtmp->data)) {
|
||||||
if (cansee(mtmp->mx, mtmp->my))
|
if (cansee(mtmp->mx, mtmp->my))
|
||||||
pline("%s coughs!", Monnam(mtmp));
|
pline("%s coughs!", Monnam(mtmp));
|
||||||
setmangry(mtmp);
|
if (heros_fault(reg)) setmangry(mtmp);
|
||||||
if (haseyes(mtmp->data) && mtmp->mcansee) {
|
if (haseyes(mtmp->data) && mtmp->mcansee) {
|
||||||
mtmp->mblinded = 1;
|
mtmp->mblinded = 1;
|
||||||
mtmp->mcansee = 0;
|
mtmp->mcansee = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user