|
|
|
@ -305,7 +305,7 @@ void CHudAmmo::Reset( void )
@@ -305,7 +305,7 @@ void CHudAmmo::Reset( void )
|
|
|
|
|
gHR.Reset(); |
|
|
|
|
|
|
|
|
|
//VidInit();
|
|
|
|
|
wrect_t nullrc = {}; |
|
|
|
|
wrect_t nullrc = {0,}; |
|
|
|
|
SetCrosshair( 0, nullrc, 0, 0, 0 ); // reset crosshair
|
|
|
|
|
m_pWeapon = NULL; // reset last weapon
|
|
|
|
|
} |
|
|
|
@ -539,7 +539,7 @@ int CHudAmmo::MsgFunc_HideWeapon( const char *pszName, int iSize, void *pbuf )
@@ -539,7 +539,7 @@ int CHudAmmo::MsgFunc_HideWeapon( const char *pszName, int iSize, void *pbuf )
|
|
|
|
|
|
|
|
|
|
if( gHUD.m_iHideHUDDisplay & ( HIDEHUD_WEAPONS | HIDEHUD_ALL ) ) |
|
|
|
|
{ |
|
|
|
|
wrect_t nullrc = {}; |
|
|
|
|
wrect_t nullrc = {0,}; |
|
|
|
|
gpActiveSel = NULL; |
|
|
|
|
SetCrosshair( 0, nullrc, 0, 0, 0 ); |
|
|
|
|
} |
|
|
|
@ -559,7 +559,7 @@ int CHudAmmo::MsgFunc_HideWeapon( const char *pszName, int iSize, void *pbuf )
@@ -559,7 +559,7 @@ int CHudAmmo::MsgFunc_HideWeapon( const char *pszName, int iSize, void *pbuf )
|
|
|
|
|
//
|
|
|
|
|
int CHudAmmo::MsgFunc_CurWeapon( const char *pszName, int iSize, void *pbuf ) |
|
|
|
|
{ |
|
|
|
|
wrect_t nullrc = {}; |
|
|
|
|
wrect_t nullrc = {0,}; |
|
|
|
|
int fOnTarget = FALSE; |
|
|
|
|
|
|
|
|
|
BEGIN_READ( pbuf, iSize ); |
|
|
|
|