@ -219,7 +219,7 @@ int CHudHealth::Draw( float flTime )
{
HealthWidth = gHUD.GetSpriteRect( gHUD.m_HUD_number_0 ).right - gHUD.GetSpriteRect( gHUD.m_HUD_number_0 ).left;
struct rect_s cross = gHUD.GetSpriteRect( m_HUD_cross );
wrect_t cross = gHUD.GetSpriteRect( m_HUD_cross );
int CrossWidth = cross.right - cross.left;
int CrossHeight = cross.bottom - cross.top;
@ -141,8 +141,6 @@ void CBarnacle::Spawn()
pev->nextthink = gpGlobals->time + 0.5;
UTIL_SetOrigin( pev, pev->origin );
m_fXenCandySpawned = FALSE;
}
int CBarnacle::TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, float flDamage, int bitsDamageType )
@ -841,13 +841,11 @@ void CHGrunt::HandleAnimEvent( MonsterEvent_t *pEvent )
Vector vecShootDir;
Vector vecShootOrigin;
Vector vecGunPos;
Vector vecGunAngles;
switch( pEvent->event )
case HGRUNT_AE_DROP_GUN:
GetAttachment( 0, vecGunPos, vecGunAngles );
// switch to body group with no gun.