From 9d3bcb0de38379e04f52249206bea30ee747c2dc Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 15 Jan 2021 00:07:26 +0100 Subject: [PATCH] [hellfire] MAI_Zhar --- Source/monster.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/monster.cpp b/Source/monster.cpp index b33606e9a..37e3b7f31 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -5098,7 +5098,11 @@ void MAI_Zhar(int i) MonsterStruct *Monst; if ((DWORD)i >= MAXMONSTERS) +#ifdef HELLFIRE + return; +#else app_fatal("MAI_Zhar: Invalid monster %d", i); +#endif Monst = &monster[i]; if (monster[i]._mmode != MM_STAND) {