mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 13:31:33 +00:00
Fix zombie soldier health.
This commit is contained in:
parent
9a7fb0fcda
commit
0ac6b569d8
@ -250,7 +250,10 @@ void CZombie::Spawn()
|
||||
pev->solid = SOLID_SLIDEBOX;
|
||||
pev->movetype = MOVETYPE_STEP;
|
||||
m_bloodColor = BLOOD_COLOR_GREEN;
|
||||
pev->health = gSkillData.zombieHealth;
|
||||
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 )
|
||||
m_MonsterState = MONSTERSTATE_NONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user