client: remove useless check.

This commit is contained in:
Andrey Akhmichin 2023-11-29 12:56:31 +05:00
parent 011fbd1a58
commit c709de9304
1 changed files with 1 additions and 1 deletions

View File

@ -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 );