X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fvehicles%2Fcl_vehicles.qc;h=afb48c918b89f74e353d3c2f624ecfafdb69e65d;hb=885c44f8ae383e2a22fbe43530d55d0a0f4de206;hp=9706d01995cf8eff514f51a50277b8de4634b42f;hpb=36a3cd7d36531bca786228cf9c23368f7d7cb1c5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/vehicles/cl_vehicles.qc b/qcsrc/common/vehicles/cl_vehicles.qc index 9706d0199..afb48c918 100644 --- a/qcsrc/common/vehicles/cl_vehicles.qc +++ b/qcsrc/common/vehicles/cl_vehicles.qc @@ -1,3 +1,4 @@ +#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"; @@ -104,7 +105,7 @@ NET_HANDLE(TE_CSQC_VEHICLESETUP, bool isnew) if(axh != NULL && !wasfreed(axh)) { AuxiliaryXhair[i] = NULL; - remove(axh); + delete(axh); } } return; @@ -116,7 +117,7 @@ NET_HANDLE(TE_CSQC_VEHICLESETUP, bool isnew) entity axh = AuxiliaryXhair[i]; if(axh != NULL && !wasfreed(axh)) // MADNESS? THIS IS QQQQCCCCCCCCC (wasfreed, why do you exsist?) - remove(axh); + delete(axh); axh = spawn(); axh.draw2d = func_null;