mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 21:54:30 +00:00
Fix build.
This commit is contained in:
parent
8dcbd5e491
commit
40d322564d
@ -86,7 +86,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf )
|
|||||||
BEGIN_READ( pbuf, iSize );
|
BEGIN_READ( pbuf, iSize );
|
||||||
pszSound = READ_STRING();
|
pszSound = READ_STRING();
|
||||||
|
|
||||||
if( !isXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
||||||
{
|
{
|
||||||
sprintf( cmd, "mp3 play %s\n", pszSound );
|
sprintf( cmd, "mp3 play %s\n", pszSound );
|
||||||
gEngfuncs.pfnClientCmd( cmd );
|
gEngfuncs.pfnClientCmd( cmd );
|
||||||
@ -99,7 +99,7 @@ int __MsgFunc_PlayMP3( const char *pszName, int iSize, void *pbuf )
|
|||||||
|
|
||||||
void __CmdFunc_StopMP3( void )
|
void __CmdFunc_StopMP3( void )
|
||||||
{
|
{
|
||||||
if( !isXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
if( !IsXashFWGS() && gEngfuncs.pfnGetCvarPointer( "gl_overbright" ) )
|
||||||
gEngfuncs.pfnClientCmd( "mp3 stop\n" );
|
gEngfuncs.pfnClientCmd( "mp3 stop\n" );
|
||||||
else
|
else
|
||||||
gEngfuncs.pfnPrimeMusicStream( 0, 0 );
|
gEngfuncs.pfnPrimeMusicStream( 0, 0 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user