From 40d322564d17f585dff7aaf271d6f29d9f2cc0fb Mon Sep 17 00:00:00 2001 From: Night Owl Date: Sat, 14 Apr 2018 07:49:47 +0500 Subject: [PATCH] Fix build. --- cl_dll/hud.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_dll/hud.cpp b/cl_dll/hud.cpp index 2acfd7ff..d3be83ce 100644 --- a/cl_dll/hud.cpp +++ b/cl_dll/hud.cpp @@ -86,7 +86,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 %s\n", pszSound ); gEngfuncs.pfnClientCmd( cmd ); @@ -99,7 +99,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 );