From: Mario Date: Sat, 23 Jul 2016 12:40:33 +0000 (+1000) Subject: Turn off prediction entirely while inside a vehicle (at least until we have actual... X-Git-Tag: xonotic-v0.8.2~700^2~39^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f73cc438b52668ac489b08469cf249505967152a;p=xonotic%2Fxonotic-data.pk3dir.git Turn off prediction entirely while inside a vehicle (at least until we have actual predicted vehicles) --- diff --git a/qcsrc/common/vehicles/sv_vehicles.qc b/qcsrc/common/vehicles/sv_vehicles.qc index 0f6d1b53c..82b20a6bc 100644 --- a/qcsrc/common/vehicles/sv_vehicles.qc +++ b/qcsrc/common/vehicles/sv_vehicles.qc @@ -947,7 +947,7 @@ void vehicles_enter(entity pl, entity veh) pl.angles = veh.angles; pl.takedamage = DAMAGE_NO; pl.solid = SOLID_NOT; - pl.disableclientprediction = 0; // physics is no longer run, so this won't be reset + pl.disableclientprediction = 1; // physics is no longer run, so this won't be reset set_movetype(pl, MOVETYPE_NOCLIP); pl.teleportable = false; pl.alpha = -1;