From 3d7ab8660f960401faeb5728982ea2baf17fcc6e Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 22 Mar 2022 03:28:15 +1000 Subject: [PATCH] antilag.qc: fix indenting --- qcsrc/server/antilag.qc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/qcsrc/server/antilag.qc b/qcsrc/server/antilag.qc index b57627963..858e0ef8b 100644 --- a/qcsrc/server/antilag.qc +++ b/qcsrc/server/antilag.qc @@ -20,10 +20,10 @@ const int ANTILAG_MAX_ORIGINS = 64; void antilag_record(entity e, entity store, float t) { - if (e.vehicle) { - if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; - antilag_record(e.vehicle, e.vehicle, t); - } + if (e.vehicle) { + if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; + antilag_record(e.vehicle, e.vehicle, t); + } if (time < store.antilag_times[store.antilag_index]) return; store.antilag_index += 1; @@ -86,9 +86,9 @@ vector antilag_takebackavgvelocity(entity e, entity store, float t0, float t1) void antilag_takeback(entity e, entity store, float t) { if (e.vehicle) { - if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; + if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; antilag_takeback(e.vehicle, e.vehicle, t); - } + } if (!store.antilag_takenback) store.antilag_saved_origin = e.origin; @@ -101,7 +101,7 @@ void antilag_takeback(entity e, entity store, float t) void antilag_restore(entity e, entity store) { if (e.vehicle) { - if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; + if (e.vehicle.vehicle_flags == VHF_PLAYERSLOT) return; antilag_restore(e.vehicle, e.vehicle); } -- 2.39.2