mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-09 05:24:17 +00:00
Fix build.
This commit is contained in:
parent
f71cf0ae77
commit
4d62e7afa9
@ -108,7 +108,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf )
|
||||
BEGIN_READ( pbuf, iSize );
|
||||
pszSound = READ_STRING();
|
||||
|
||||
if( !isXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
||||
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
||||
{
|
||||
sprintf( cmd, "mp3 play media/%s\n", pszSound );
|
||||
gEngfuncs.pfnClientCmd( cmd );
|
||||
@ -121,7 +121,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf )
|
||||
|
||||
void __CmdFunc_StopMP3( void )
|
||||
{
|
||||
if( !isXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
||||
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
||||
gEngfuncs.pfnClientCmd( "mp3 stop\n" );
|
||||
else
|
||||
gEngfuncs.pfnPrimeMusicStream( 0, 0 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user