Skip to content

Commit

Permalink
client: remove useless check.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Nov 29, 2023
1 parent 011fbd1 commit c709de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl_dll/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit c709de9

Please sign in to comment.