From: TimePath Date: Fri, 25 Mar 2016 04:51:07 +0000 (+1100) Subject: Antilag: pass correct storage entity when vehicles are involved X-Git-Tag: xonotic-v0.8.2~1020 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b26cb36f7f17e5df4047dfbb727bf9eb9b10b5eb;p=xonotic%2Fxonotic-data.pk3dir.git Antilag: pass correct storage entity when vehicles are involved Fixes #1707 --- diff --git a/qcsrc/server/antilag.qc b/qcsrc/server/antilag.qc index 560d7614c..603fac1c2 100644 --- a/qcsrc/server/antilag.qc +++ b/qcsrc/server/antilag.qc @@ -100,7 +100,7 @@ void antilag_restore(entity e, entity store) { if (e.vehicle) { if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; - antilag_restore(e.vehicle, e.vehicle); + antilag_restore(e.vehicle, store); } if (!store.antilag_takenback) return;