Night Owl 8 years ago
parent
commit
033bbbcd80
  1. 4
      cl_dll/ammo.cpp

4
cl_dll/ammo.cpp

@ -536,7 +536,7 @@ int CHudAmmo::MsgFunc_HideWeapon( const char *pszName, int iSize, void *pbuf )
if( gHUD.m_iHideHUDDisplay & ( HIDEHUD_WEAPONS | HIDEHUD_ALL ) ) if( gHUD.m_iHideHUDDisplay & ( HIDEHUD_WEAPONS | HIDEHUD_ALL ) )
{ {
static wrect_t nullrc; wrect_t nullrc = {};
gpActiveSel = NULL; gpActiveSel = NULL;
SetCrosshair( 0, nullrc, 0, 0, 0 ); SetCrosshair( 0, nullrc, 0, 0, 0 );
} }
@ -556,7 +556,7 @@ int CHudAmmo::MsgFunc_HideWeapon( const char *pszName, int iSize, void *pbuf )
// //
int CHudAmmo::MsgFunc_CurWeapon( const char *pszName, int iSize, void *pbuf ) int CHudAmmo::MsgFunc_CurWeapon( const char *pszName, int iSize, void *pbuf )
{ {
static wrect_t nullrc; wrect_t nullrc = {};
int fOnTarget = FALSE; int fOnTarget = FALSE;
BEGIN_READ( pbuf, iSize ); BEGIN_READ( pbuf, iSize );

Loading…
Cancel
Save