mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-08-26 13:51:49 +00:00
Merge branch 'poke646' into poke646_vendetta
This commit is contained in:
commit
d79893be41
@ -151,9 +151,9 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf )
|
|||||||
loop = READ_BYTE();
|
loop = READ_BYTE();
|
||||||
|
|
||||||
sprintf( path, "sound/%s", pszSound );
|
sprintf( path, "sound/%s", pszSound );
|
||||||
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
if( !IsXashFWGS( ))
|
||||||
{
|
{
|
||||||
sprintf( cmd, "mp3 play %s\n", path );
|
sprintf( cmd, "mp3 %s %s\n", loop ? "loop" : "play", path );
|
||||||
gEngfuncs.pfnClientCmd( cmd );
|
gEngfuncs.pfnClientCmd( cmd );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user