Browse Source

client: loop mp3 sound under GoldSource too.

thegate
Andrey Akhmichin 1 year ago
parent
commit
27f45e97a1
  1. 2
      cl_dll/hud.cpp

2
cl_dll/hud.cpp

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

Loading…
Cancel
Save