From 8bd518031bb67f1f8caa636194457559dda7d8ee Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Sun, 2 Sep 2018 18:57:23 +0200 Subject: [PATCH] Added `LIGHTSIZE` constant --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 136476cfe..4af919786 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -876,7 +876,7 @@ void __fastcall PlaceUniqueMonst(int uniqindex, int miniontype, int unpackfilesi MonsterStruct *Monst = &monster[nummonsters]; int count = 0; - if ( (uniquetrans + 19) << 8 >= 6912 ) + if ( (uniquetrans + 19) << 8 >= LIGHTSIZE ) { return; }