From 6862028680aca99be3b31e94df4579adda7a2eef Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 14 Jan 2021 22:16:08 +0100 Subject: [PATCH] [hellfire] MAI_RR2 --- Source/monster.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/monster.cpp b/Source/monster.cpp index 509ef7f62..91c921667 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -4600,7 +4600,11 @@ void MAI_RR2(int i, int mistype, int dam) int dist, v, md; if ((DWORD)i >= MAXMONSTERS) +#ifdef HELLFIRE + return; +#else app_fatal("MAI_RR2: Invalid monster %d", i); +#endif Monst = &monster[i]; mx = Monst->_mx - Monst->_menemyx;