- 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:
Giegue
2024-01-10 16:05:40 -03:00
parent 75596ad87e
commit 9f77e10934
39 changed files with 225 additions and 65 deletions

View File

@@ -41,7 +41,7 @@ void CMApache :: Spawn( void )
pev->flags |= FL_MONSTER;
pev->takedamage = DAMAGE_AIM;
pev->health = gSkillData.apacheHealth;
if (!pev->health) { pev->health = gSkillData.apacheHealth; }
m_flFieldOfView = -0.707; // 270 degrees