From bb168cb1734230bfd050d23401b6f2aeeabc142e Mon Sep 17 00:00:00 2001 From: qndel Date: Mon, 30 Sep 2019 04:53:19 +0200 Subject: [PATCH] [hellfire] M_DoSpStand bin exact --- Source/monster.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/monster.cpp b/Source/monster.cpp index 378add0f5..f64a2e286 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -2755,9 +2755,17 @@ BOOL M_DoDeath(int i) BOOL M_DoSpStand(int i) { if ((DWORD)i >= MAXMONSTERS) +#ifdef HELLFIRE + return FALSE; +#else app_fatal("M_DoSpStand: Invalid monster %d", i); +#endif if (monster[i].MType == NULL) +#ifdef HELLFIRE + return FALSE; +#else app_fatal("M_DoSpStand: Monster %d \"%s\" MType NULL", i, monster[i].mName); +#endif if (monster[i]._mAnimFrame == monster[i].MData->mAFNum2) PlayEffect(i, 3);