2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 18:07:09 +01:00

ref: gl: remove usage of PARM_WORLD_VERSION

This commit is contained in:
Alibek Omarov 2023-12-28 22:19:34 +03:00
parent 0e3b14e9a5
commit d22bbb4213

View File

@ -3819,7 +3819,7 @@ void GL_BuildLightmaps( void )
// update the lightmap blocksize
if( FBitSet( ENGINE_GET_PARM( PARM_FEATURES ), ENGINE_LARGE_LIGHTMAPS )
|| ENGINE_GET_PARM( PARM_WORLD_VERSION ) == QBSP2_VERSION )
|| tr.world->version == QBSP2_VERSION )
tr.block_size = BLOCK_SIZE_MAX;
else tr.block_size = BLOCK_SIZE_DEFAULT;