mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-12 16:07:57 +00:00
Fix build.
This commit is contained in:
parent
4afee2372b
commit
4a01abefac
@ -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:
|
||||
Vector vecGunPos;
|
||||
Vector vecGunAngles;
|
||||
|
||||
GetAttachment( 0, vecGunPos, vecGunAngles );
|
||||
|
||||
// switch to body group with no gun.
|
||||
|
Loading…
Reference in New Issue
Block a user