]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/weapons/projectile.qc
Merge master into qc_physics_prehax (blame TimePath if it's completely broken)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / weapons / projectile.qc
index cd4f9b7441aee5483e0e9207591c8fb8cbe8912a..efa6509c7060e2085458923b33e668e0d2e4fc39 100644 (file)
@@ -3,10 +3,10 @@
 #include "../autocvars.qh"
 #include "../defs.qh"
 #include "../main.qh"
-#include "../movetypes.qh"
 
 #include "../../common/constants.qh"
 #include "../../common/nades.qh"
+#include "../../common/movetypes/movetypes.qh"
 #include "../../common/util.qh"
 
 #include "../../csqcmodellib/interpolate.qh"
@@ -486,6 +486,7 @@ void Ent_Projectile()
        if(!(self.count & 0x80))
                InterpolateOrigin_Note();
 
+       self.classname = "csqcprojectile";
        self.draw = Projectile_Draw;
        self.entremove = Ent_RemoveProjectile;
 }