]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Turn off prediction entirely while inside a vehicle (at least until we have actual...
authorMario <mario@smbclan.net>
Sat, 23 Jul 2016 12:40:33 +0000 (22:40 +1000)
committerMario <mario@smbclan.net>
Sat, 23 Jul 2016 12:40:33 +0000 (22:40 +1000)
qcsrc/common/vehicles/sv_vehicles.qc

index 0f6d1b53cdf1d6d1165fffeba24862a4066eea39..82b20a6bc21776e29c5a966720bfe032ffb008b7 100644 (file)
@@ -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;