Browse Source

client: remove useless check.

poke646
Andrey Akhmichin 12 months ago
parent
commit
c709de9304
  1. 2
      cl_dll/hud.cpp

2
cl_dll/hud.cpp

@ -151,7 +151,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) @@ -151,7 +151,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf )
loop = READ_BYTE();
sprintf( path, "sound/%s", pszSound );
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
if( !IsXashFWGS( ))
{
sprintf( cmd, "mp3 %s %s\n", loop ? "loop" : "play", path );
gEngfuncs.pfnClientCmd( cmd );

Loading…
Cancel
Save