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:
PatR
2025-08-05 13:30:17 -07:00
parent 5fe746a0d6
commit 695c6ef3ac
7 changed files with 38 additions and 9 deletions

View File

@@ -508,6 +508,8 @@ static const struct instance_globals_m g_init_m = {
UNDEFINED_PTR, /* migrating_mons */
/* dokick.c */
UNDEFINED_PTR, /* maploc */
/* mhitm.c */
UNDEFINED_PTR, /* mswallower */
/* mhitu.c */
UNDEFINED_VALUE, /* mhitu_dieroll */
/* mklev.c */