]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/vehicles/cl_vehicles.qc
Tidy up classnames
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / vehicles / cl_vehicles.qc
index 667c1f75a31b65587fcd9a9886c000affa454606..971a5ebad6911bc28abd53b1f26958c614b0f4d1 100644 (file)
@@ -1,4 +1,5 @@
 #include "cl_vehicles.qh"
+
 const string vCROSS_BURST = "gfx/vehicles/crosshair_burst.tga";
 const string vCROSS_DROP  = "gfx/vehicles/crosshair_drop.tga";
 const string vCROSS_GUIDE = "gfx/vehicles/crosshair_guide.tga";
@@ -118,7 +119,7 @@ NET_HANDLE(TE_CSQC_VEHICLESETUP, bool isnew)
                if(axh != NULL && !wasfreed(axh))  // MADNESS? THIS IS QQQQCCCCCCCCC (wasfreed, why do you exsist?)
                        delete(axh);
 
-               axh              = spawn();
+               axh              = new(AuxiliaryXhair);
                axh.draw2d       = func_null;
                axh.drawmask     = MASK_NORMAL;
                axh.axh_drawflag = DRAWFLAG_NORMAL;