From 302d27978541e10300e6f3cebcacc7a6085404c5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 24 Mar 2025 09:44:14 +0100 Subject: [PATCH] forgot to save the MAPINFO part. --- src/gamedata/g_mapinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamedata/g_mapinfo.cpp b/src/gamedata/g_mapinfo.cpp index 350788f334..fee2347cb2 100644 --- a/src/gamedata/g_mapinfo.cpp +++ b/src/gamedata/g_mapinfo.cpp @@ -1580,7 +1580,7 @@ DEFINE_MAP_OPTION(lightmode, false) parse.sc.MustGetNumber(); if (parse.sc.Number == 8 || parse.sc.Number == 16) info->lightmode = ELightMode::NotSet; - else if (parse.sc.Number >= 0 && parse.sc.Number <= 5) + else if (parse.sc.Number >= 0 && parse.sc.Number < 5) { info->lightmode = ELightMode(parse.sc.Number); }