- Fix a few possible crashes.
- Fix xenmaker sprites never being removed if their framerate is 0. - Fix xenmaker sprites never showing if their scale is 0. - Add trigger_setcvar. - New "health" keyvalue for monsters/monstermaker for custom health.
This commit is contained in:
@@ -106,7 +106,7 @@ void CMStukabat :: Spawn()
|
||||
pev->movetype = MOVETYPE_FLY;
|
||||
pev->flags |= FL_FLY;
|
||||
m_bloodColor = !m_bloodColor ? BLOOD_COLOR_YELLOW : m_bloodColor;
|
||||
pev->health = gSkillData.stukabatHealth;
|
||||
if (!pev->health) { pev->health = gSkillData.stukabatHealth; }
|
||||
pev->view_ofs = Vector ( 0, 0, 22 );// 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;
|
||||
|
||||
Reference in New Issue
Block a user