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