client: loop mp3 sound under GoldSource too.

This commit is contained in:
Andrey Akhmichin 2023-11-29 13:17:54 +05:00
parent daa272c886
commit 828117d8fc

View File

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