fix issue #1434 - engulfed gas spore explosion
Issue reported by Umbire: a gas spore that got swallowed and killed didn't die but exploded anyway, with the explosion affecting the map instead of being contained in the swallower. There was code to handle that but it wasn't being executed. This fix feels unclean but seems to work. I couldn't reproduce the survival of the gas spore but since that isn't wanted I won't worry about it. Fixes #1434
This commit is contained in:
@@ -604,6 +604,9 @@ struct instance_globals_m {
|
||||
/* dokick.c */
|
||||
struct rm *maploc;
|
||||
|
||||
/* mhitm.c */
|
||||
struct monst *mswallower; /* for gas spore explosion when it's swallowed*/
|
||||
|
||||
/* mhitu.c */
|
||||
int mhitu_dieroll;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user