]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/misc/laser.qc
#includes: cleanup server
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / misc / laser.qc
index f0babbc557a9f47cf0a0772fe0ce8ebb40cb212f..cc15516d1d14e067e3ef7c5e08c72c4427fd18a1 100644 (file)
@@ -1,5 +1,4 @@
 #if defined(CSQC)
-       #include "../../../client/_all.qh"
        #include "../../buffs/all.qh"
        #include "../../../csqcmodellib/interpolate.qh"
        #include "../../../client/main.qh"
@@ -272,8 +271,8 @@ class(Laser) .float alpha;
 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();