Browse Source

Fix zombie soldier health.

residual_point
Night Owl 7 years ago
parent
commit
0ac6b569d8
  1. 3
      dlls/zombie.cpp

3
dlls/zombie.cpp

@ -250,6 +250,9 @@ void CZombie::Spawn() @@ -250,6 +250,9 @@ void CZombie::Spawn()
pev->solid = SOLID_SLIDEBOX;
pev->movetype = MOVETYPE_STEP;
m_bloodColor = BLOOD_COLOR_GREEN;
if( FClassnameIs( pev, "monster_zombie_soldier" ) )
pev->health = gSkillData.zsoldierHealth;
else
pev->health = gSkillData.zombieHealth;
pev->view_ofs = VEC_VIEW;// position of the eyes relative to monster's origin.
m_flFieldOfView = 0.5;// indicates the width of this monster's forward view cone ( as a dotproduct result )

Loading…
Cancel
Save