ref: gl: use direct cl.paused instead of PARM_GAMEPAUSED

This commit is contained in:
Alibek Omarov 2023-12-30 16:41:39 +03:00
parent 82a2d272ad
commit 17deba0606

View File

@ -55,7 +55,7 @@ void CL_RunLightStyles( void )
continue;
}
if( !ENGINE_GET_PARM( PARAM_GAMEPAUSED ) && frametime <= 0.1f )
if( !gp_cl->paused && frametime <= 0.1f )
ls->time += frametime; // evaluate local time
flight = (int)Q_floor( ls->time * 10 );