#if defined(CSQC)
- #include "../../../client/_all.qh"
#include "../../buffs/all.qh"
- #include "../../../csqcmodellib/interpolate.qh"
+ #include "../../../lib/csqcmodel/interpolate.qh"
#include "../../../client/main.qh"
- #include "../../../csqcmodellib/cl_model.qh"
+ #include "../../../lib/csqcmodel/cl_model.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
#endif
if(((self.spawnflags & 8) == 0) == (self.team != hitent.team))
return;
if(hitent.takedamage)
- Damage(hitent, self, self, ((self.dmg < 0) ? 100000 : (self.dmg * frametime)), DEATH_HURTTRIGGER, hitloc, '0 0 0');
+ Damage(hitent, self, self, ((self.dmg < 0) ? 100000 : (self.dmg * frametime)), DEATH_HURTTRIGGER.m_id, hitloc, '0 0 0');
}
}
class(Laser) .float scale; // scaling factor of the thickness
class(Laser) .float modelscale; // scaling factor of the dlight
-void Draw_Laser()
-{SELFPARAM();
+void Draw_Laser(entity this)
+{
if(!self.state)
return;
InterpolateOrigin_Do();