From: Mario Date: Wed, 25 Feb 2015 01:17:02 +0000 (+1100) Subject: Disable an unused macro X-Git-Tag: xonotic-v0.8.2~2059^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6f1dccbcc2918d2263888eb58abf0b47d36acd92;p=xonotic%2Fxonotic-data.pk3dir.git Disable an unused macro --- diff --git a/qcsrc/common/vehicles/sv_vehicles.qh b/qcsrc/common/vehicles/sv_vehicles.qh index c0e3440449..8ef077d73f 100644 --- a/qcsrc/common/vehicles/sv_vehicles.qh +++ b/qcsrc/common/vehicles/sv_vehicles.qh @@ -104,10 +104,12 @@ void(entity e, vector torque) physics_addtorque = #542; // add relative torque #define VEHICLE_UPDATE_PLAYER(ply,fld,vhname) \ ply.vehicle_##fld = (self.vehicle_##fld / autocvar_g_vehicle_##vhname##_##fld) * 100 +#if 0 #define vehicles_sweap_collision(orig,vel,dt,acm,mult) \ traceline(orig, orig + vel * dt, MOVE_NORMAL, self); \ if(trace_fraction != 1) \ acm += normalize(self.origin - trace_endpos) * (vlen(vel) * mult) +#endif void vehicles_exit(float eject);