From 09c41c666fd2a1700c74adf812f714bebc389092 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 1 Feb 2020 00:08:36 +0100 Subject: [PATCH] Update monster.cpp --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 7a7862624..b1d966a48 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -1644,7 +1644,7 @@ void MonstStartKill(int i, int pnum, BOOL sendmsg) SetRndSeed(monster[i]._mRndSeed); if (QuestStatus(QTYPE_GARB) && monster[i].mName == UniqMonst[UMT_GARBUD].mName) { CreateTypeItem(monster[i]._mx + 1, monster[i]._my + 1, TRUE, ITYPE_MACE, IMISC_NONE, TRUE, FALSE); - } else if (i > 3) { + } else if (i > MAX_PLRS - 1) { // Golems should not spawn items SpawnItem(i, monster[i]._mx, monster[i]._my, sendmsg); } if (monster[i].MType->mtype == MT_DIABLO)