{
pointparticles(particleeffectnum("healing_fx"), head.origin, '0 0 0', 1);
head.health = bound(0, head.health + MON_CVAR(mage, heal_allies), head.max_health);
+ WaypointSprite_UpdateHealth(head.sprite, head.health);
}
}
pointparticles(particleeffectnum("explosion_medium"), self.origin, '0 0 0', 1);
sound(self, CH_SHOTS, "weapons/rocket_impact.wav", VOL_BASE, ATTEN_NORM);
- setmodel(self, "");
+ setmodel(self, "null");
}
void slime_dead()
self.deadflag = DEAD_DEAD;
self.think = Monster_Fade;
self.nextthink = time + 0.1;
+
+ CSQCMODEL_AUTOUPDATE(); // called now to update model
}
void spawnfunc_monster_slime()
if(self.frozen)
{
- self.revive_progress = bound(0, self.revive_progress + frametime * self.revive_speed, 1);
+ self.revive_progress = bound(0, self.revive_progress + self.ticrate * self.revive_speed, 1);
self.health = max(1, self.max_health * self.revive_progress);
WaypointSprite_UpdateHealth(self.sprite, self.health);