commit 7ac729c46dd3a221f1f9665d194ed929149aa013
Author: NY00123 <ny00@outlook.com>
AuthorDate: Mon Apr 6 22:51:40 2020 +0300
Commit: NY00123 <ny00@outlook.com>
CommitDate: Mon Apr 6 22:57:55 2020 +0300
hexen: Disable checks in A_SoAExplode not present in version 1.1
---
src/hexen/a_action.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hexen/a_action.c b/src/hexen/a_action.c
index 176a16c8..bb007953 100644
--- a/src/hexen/a_action.c
+++ b/src/hexen/a_action.c
@@ -1177,9 +1177,11 @@ void A_SoAExplode(mobj_t * actor)
}
if (actor->args[0])
{ // Spawn an item
+#if 0 // Checks are not present in version 1.1
if (!nomonsters
|| !(mobjinfo[TranslateThingType[actor->args[0]]].
flags & MF_COUNTKILL))
+#endif
{ // Only spawn monsters if not -nomonsters
P_SpawnMobj(actor->x, actor->y, actor->z,
TranslateThingType[actor->args[0]]);