From 57067dbef54f63d40e882ef354ac757b29471361 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:31:57 +0500 Subject: [PATCH] client: remove useless check. --- cl_dll/hud.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_dll/hud.cpp b/cl_dll/hud.cpp index 532ae160..603de1b5 100644 --- a/cl_dll/hud.cpp +++ b/cl_dll/hud.cpp @@ -190,7 +190,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) pszSound = READ_STRING(); - if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) ) + if( !IsXashFWGS( )) { sprintf( cmd, "mp3 loop sound/mp3/%s\n", pszSound ); gEngfuncs.pfnClientCmd( cmd ); @@ -206,7 +206,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) void __CmdFunc_StopMP3( void ) { - if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) ) + if( !IsXashFWGS( )) gEngfuncs.pfnClientCmd( "mp3 stop\n" ); else gEngfuncs.pfnPrimeMusicStream( 0, 0 );