From f20c3df0c32cce3b732348e70a4e04c4104b4628 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 1 Jan 2020 16:00:22 +0100 Subject: [PATCH] [hellfire] CanTalkToMonst bin exact --- Source/monster.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/monster.cpp b/Source/monster.cpp index e6ab61158..cc6606739 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -5917,7 +5917,11 @@ void SpawnGolum(int i, int x, int y, int mi) BOOL CanTalkToMonst(int m) { if ((DWORD)m >= MAXMONSTERS) { +#ifdef HELLFIRE + return FALSE; +#else app_fatal("CanTalkToMonst: Invalid monster %d", m); +#endif } if (monster[m]._mgoal == MGOAL_INQUIRING) {