Skip to content

Commit

Permalink
Fix cleansuit scientist using wrong skill value for health
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed Oct 5, 2021
1 parent 2b7db38 commit df47301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/cleansuit_scientist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ void CCleansuitScientist :: Spawn()
pev->solid = SOLID_SLIDEBOX;
pev->movetype = MOVETYPE_STEP;
m_bloodColor = BLOOD_COLOR_RED;
pev->health = gSkillData.scientistHealth;
pev->health = gSkillData.cleansuitScientistHealth;
pev->view_ofs = Vector ( 0, 0, 50 );// position of the eyes relative to monster's origin.
m_flFieldOfView = VIEW_FIELD_WIDE; // NOTE: we need a wide field of view so scientists will notice player and say hello
m_MonsterState = MONSTERSTATE_NONE;
Expand Down

0 comments on commit df47301

Please sign in to comment.