From b67612c67cd0635d75758ab2552db49346aa69a7 Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Thu, 29 Apr 2021 17:05:56 +0200 Subject: [PATCH] Allow more than 1 lightgrid file version --- neo/renderer/RenderWorld_lightgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/renderer/RenderWorld_lightgrid.cpp b/neo/renderer/RenderWorld_lightgrid.cpp index a69a0b90..7187d501 100644 --- a/neo/renderer/RenderWorld_lightgrid.cpp +++ b/neo/renderer/RenderWorld_lightgrid.cpp @@ -605,7 +605,7 @@ bool idRenderWorldLocal::LoadLightGridFile( const char* name ) lightGridVersion = atoi( token ); } - if( lightGridVersion != LGRID_VERSION ) + if( lightGridVersion != LGRID_VERSION && lightGridVersion != 4 ) { common->Warning( "%s has version %i instead of %i", fileName.c_str(), lightGridVersion, LGRID_VERSION ); delete src;