From 9713441b693ffe02a9985ed6120af38901b4903b Mon Sep 17 00:00:00 2001 From: obligaron Date: Fri, 17 Jun 2022 21:40:23 +0200 Subject: [PATCH] Fix PlaceUniqueMonsters when unique monster type is not active on the level --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 1c6a6ff31..2244c4c90 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -547,7 +547,7 @@ void PlaceUniqueMonsters() int mt; for (mt = 0; mt < LevelMonsterTypeCount && !done; mt++) done = (LevelMonsterTypes[mt].mtype == UniqueMonstersData[u].mtype); - if (done) + if (!done) continue; if (u == UMT_GARBUD && Quests[Q_GARBUD]._qactive == QUEST_NOTAVAIL)