From 302d1c65070cc8f9245dd08030bcef8201680e23 Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Mon, 20 Aug 2018 00:19:07 +0200 Subject: [PATCH] Flipped branches of PlaceQuestMonster to make it near byte-perfect. --- Source/monster.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 59692e4b6..3f57ed6f9 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -1100,14 +1100,7 @@ void __cdecl PlaceQuestMonsters() int skeltype; unsigned char *setp; - if ( setlevel ) - { - if ( setlvlnum == SL_SKELKING ) - { - PlaceUniqueMonst(1, 0, 0); - } - } - else + if ( !setlevel ) { if ( QuestStatus(QTYPE_BUTCH) ) { @@ -1181,6 +1174,13 @@ void __cdecl PlaceQuestMonsters() mem_free_dbg(setp); } } + else + { + if ( setlvlnum == SL_SKELKING ) + { + PlaceUniqueMonst(1, 0, 0); + } + } } void __fastcall PlaceGroup(int mtype, int num, int leaderf, int leader)