mirror of https://github.com/FWGS/hlsdk-xash3d
client: loop mp3 sound under GoldSource too.
This commit is contained in:
parent
4914c58eda
commit
b3faab479c
|
@ -149,7 +149,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 %s\n", pszSound );
|
sprintf( cmd, "mp3 loop %s\n", pszSound );
|
||||||
gEngfuncs.pfnClientCmd( cmd );
|
gEngfuncs.pfnClientCmd( cmd );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue