From: terencehill Date: Sat, 29 Jul 2017 09:15:29 +0000 (+0200) Subject: Indent sys_phys_monitor call X-Git-Tag: xonotic-v0.8.5~2554 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=39b89cdb6b78d599aa41c8d96b007c1fa5bac773;p=xonotic%2Fxonotic-data.pk3dir.git Indent sys_phys_monitor call --- diff --git a/qcsrc/ecs/systems/physics.qc b/qcsrc/ecs/systems/physics.qc index ba38407f3..e6c2f7ccd 100644 --- a/qcsrc/ecs/systems/physics.qc +++ b/qcsrc/ecs/systems/physics.qc @@ -15,7 +15,10 @@ void sys_phys_update(entity this, float dt) sys_in_update(this, dt); sys_phys_fix(this, dt); - if (sys_phys_override(this, dt)) { return; } sys_phys_monitor(this, dt); + if (sys_phys_override(this, dt)) + return; + + sys_phys_monitor(this, dt); PHYS_CS(this).movement_old = PHYS_CS(this).movement; PHYS_CS(this).v_angle_old = this.v_angle;