Allow more than 1 lightgrid file version

This commit is contained in:
Robert Beckebans 2021-04-29 17:05:56 +02:00
parent 5b0a3a8ac8
commit b67612c67c

View file

@ -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;