Browse Source

client: loop mp3 sound under GoldSource too.

zombie-x
Andrey Akhmichin 1 year ago
parent
commit
828117d8fc
  1. 2
      cl_dll/hud_msg.cpp

2
cl_dll/hud_msg.cpp

@ -267,7 +267,7 @@ int CHud::MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) //AJH -K @@ -267,7 +267,7 @@ int CHud::MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf ) //AJH -K
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
{
sprintf( cmd, "mp3 play %s\n", pszSound );
sprintf( cmd, "mp3 loop %s\n", pszSound );
gEngfuncs.pfnClientCmd( cmd );
}
else

Loading…
Cancel
Save