Browse Source

Merge branch 'poke646' into poke646_vendetta

poke646_vendetta
Andrey Akhmichin 12 months ago
parent
commit
d79893be41
  1. 4
      cl_dll/hud.cpp

4
cl_dll/hud.cpp

@ -151,9 +151,9 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) @@ -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

Loading…
Cancel
Save