From b26cb36f7f17e5df4047dfbb727bf9eb9b10b5eb Mon Sep 17 00:00:00 2001 From: TimePath Date: Fri, 25 Mar 2016 15:51:07 +1100 Subject: [PATCH] Antilag: pass correct storage entity when vehicles are involved Fixes #1707 --- qcsrc/server/antilag.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2