Browse Source

Fix build.

poke646_vendetta
Night Owl 8 years ago
parent
commit
4a01abefac
  1. 2
      cl_dll/health.cpp
  2. 2
      dlls/barnacle.cpp
  3. 6
      dlls/hgrunt.cpp

2
cl_dll/health.cpp

@ -219,7 +219,7 @@ int CHudHealth::Draw( float flTime ) @@ -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;

2
dlls/barnacle.cpp

@ -141,8 +141,6 @@ void CBarnacle::Spawn() @@ -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 )

6
dlls/hgrunt.cpp

@ -841,13 +841,11 @@ void CHGrunt::HandleAnimEvent( MonsterEvent_t *pEvent ) @@ -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:
Vector vecGunPos;
Vector vecGunAngles;
GetAttachment( 0, vecGunPos, vecGunAngles );
// switch to body group with no gun.

Loading…
Cancel
Save