From 4cd423dc09eb862cb2f8da4602ab51e5ebf7b2be Mon Sep 17 00:00:00 2001 From: Georgeto Date: Wed, 22 Jan 2020 21:50:14 +0100 Subject: [PATCH] Script_ModMe: Fix stupid bug in CompileLightmaps --- .../source/console/World/World_CompileLightmaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Scripts/Script_ModMe/source/console/World/World_CompileLightmaps.cpp b/source/Scripts/Script_ModMe/source/console/World/World_CompileLightmaps.cpp index 989f4e2..6cd590d 100644 --- a/source/Scripts/Script_ModMe/source/console/World/World_CompileLightmaps.cpp +++ b/source/Scripts/Script_ModMe/source/console/World/World_CompileLightmaps.cpp @@ -141,7 +141,7 @@ bCString CMD_World_Sub::CompileLightmaps( bTObjArray< bCString > a_arrParams ) bCString AreaMessage; - if(a_arrParams.GetCount() >= 2 || a_arrParams.GetCount() <= 4) + if(a_arrParams.GetCount() >= 2 && a_arrParams.GetCount() <= 4) { GEInt iMinPositionX, iMaxPositionX, iMinPositionZ, iMaxPositionZ;