Skip to content

Commit

Permalink
Merge branch 'poke646' into poke646_vendetta
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Nov 29, 2023
2 parents 6b31807 + c709de9 commit d79893b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cl_dll/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ 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 play %s\n", path );
sprintf( cmd, "mp3 %s %s\n", loop ? "loop" : "play", path );
gEngfuncs.pfnClientCmd( cmd );
}
else
Expand Down

0 comments on commit d79893b

Please sign in to comment.