Browse Source

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

pull/2/head
Alibek Omarov 11 months ago
parent
commit
17deba0606
  1. 2
      ref/gl/gl_rlight.c

2
ref/gl/gl_rlight.c

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

Loading…
Cancel
Save