mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 05:24:17 +00:00
client: loop mp3 sound under GoldSource too.
This commit is contained in:
parent
116e565761
commit
27f45e97a1
@ -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…
x
Reference in New Issue
Block a user