set_movetype(this.tur_head, MOVETYPE_NOCLIP);
set_movetype(this, MOVETYPE_NOCLIP);
this.tur_head.angles = this.angles;
- SetResourceAmountExplicit(this, RESOURCE_HEALTH, 255);
+ SetResourceAmount(this, RESOURCE_HEALTH, 255);
this.solid = SOLID_BBOX;
this.tur_head.solid = SOLID_NOT;
set_movetype(this, MOVETYPE_NOCLIP);
else if(myhp && myhp < _tmp)
this.helpme = 0; // we're being healed, don't spam help me waypoints
- SetResourceAmountExplicit(this, RESOURCE_HEALTH, _tmp);
+ SetResourceAmount(this, RESOURCE_HEALTH, _tmp);
}
return true;
}