mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 13:14:51 +00:00
client: loop mp3 sound under GoldSource too.
This commit is contained in:
parent
daa272c886
commit
828117d8fc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user