From 17deba060686babd6c4f9af635c4adb0821591eb Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 30 Dec 2023 16:41:39 +0300 Subject: [PATCH] ref: gl: use direct cl.paused instead of PARM_GAMEPAUSED --- ref/gl/gl_rlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref/gl/gl_rlight.c b/ref/gl/gl_rlight.c index b994d762..d97439ad 100644 --- a/ref/gl/gl_rlight.c +++ b/ref/gl/gl_rlight.c @@ -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 );