mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-02 10:14:42 +00:00
ref: gl: remove usage of PARM_NUMMODELS
This commit is contained in:
parent
afb0540aa3
commit
0e3b14e9a5
@ -3774,7 +3774,7 @@ void GL_RebuildLightmaps( void )
|
||||
|
||||
LM_InitBlock();
|
||||
|
||||
for( i = 0; i < ENGINE_GET_PARM( PARM_NUMMODELS ); i++ )
|
||||
for( i = 0; i < gp_cl->nummodels; i++ )
|
||||
{
|
||||
if(( m = CL_ModelHandle( i + 1 )) == NULL )
|
||||
continue;
|
||||
@ -3839,7 +3839,7 @@ void GL_BuildLightmaps( void )
|
||||
|
||||
LM_InitBlock();
|
||||
|
||||
for( i = 0; i < ENGINE_GET_PARM( PARM_NUMMODELS ); i++ )
|
||||
for( i = 0; i < gp_cl->nummodels; i++ )
|
||||
{
|
||||
if(( m = CL_ModelHandle( i + 1 )) == NULL )
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user