mimic caught in explosion printed message but wasn't discovered
- add seemimic call before printing the "caught" message
This commit is contained in:
@@ -23,6 +23,7 @@ don't drop corpse when a monster kills another monster on an inaccessible
|
||||
location (i.e. behave like xkilled behaves)
|
||||
half-physical-damage from gas spore explosion should only affect you
|
||||
Sunsword didn't stop glowing when hero killed a monster wielding it
|
||||
mimics caught in explosions with messages printed about them are discovered
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -264,8 +264,10 @@ int expltype;
|
||||
(adtyp == AD_DRST) ? "intoxicated" :
|
||||
(adtyp == AD_ACID) ? "burned" :
|
||||
"fried");
|
||||
} else if (cansee(i+x-1, j+y-1))
|
||||
} else if (cansee(i+x-1, j+y-1)) {
|
||||
if(mtmp->m_ap_type) seemimic(mtmp);
|
||||
pline("%s is caught in the %s!", Monnam(mtmp), str);
|
||||
}
|
||||
|
||||
idamres += destroy_mitem(mtmp, SCROLL_CLASS, (int) adtyp);
|
||||
idamres += destroy_mitem(mtmp, SPBOOK_CLASS, (int) adtyp);
|
||||
|
||||
Reference in New Issue
Block a user