Turn off lightmaps for levels that have none

This commit is contained in:
Magnus Norddahl 2023-10-03 18:24:11 +02:00
commit 697e7982a7

View file

@ -95,7 +95,7 @@ enum
CVAR (Bool, genblockmap, false, CVAR_SERVERINFO|CVAR_GLOBALCONFIG);
CVAR (Bool, gennodes, false, CVAR_SERVERINFO|CVAR_GLOBALCONFIG);
CVAR (Bool, genlightmaps, true, CVAR_GLOBALCONFIG);
CVAR (Bool, genlightmaps, false, CVAR_GLOBALCONFIG);
inline bool P_LoadBuildMap(uint8_t *mapdata, size_t len, FMapThing **things, int *numthings)
{