From 7f48e53e71888a2460903393254a08f1fccc2033 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 6 Apr 2018 13:42:28 +0200 Subject: [PATCH] Fix backward indentation... --- qcsrc/common/triggers/func/door.qc | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/qcsrc/common/triggers/func/door.qc b/qcsrc/common/triggers/func/door.qc index f768717c6..956114a26 100644 --- a/qcsrc/common/triggers/func/door.qc +++ b/qcsrc/common/triggers/func/door.qc @@ -57,21 +57,19 @@ void door_blocked(entity this, entity blocker) if (this.wait >= 0) { if (this.state == STATE_DOWN) - if (this.classname == "door") - { - door_go_up (this, NULL, NULL); - } else - { - door_rotating_go_up(this, blocker); - } + { + if (this.classname == "door") + door_go_up(this, NULL, NULL); + else + door_rotating_go_up(this, blocker); + } else - if (this.classname == "door") - { - door_go_down (this); - } else - { - door_rotating_go_down (this); - } + { + if (this.classname == "door") + door_go_down(this); + else + door_rotating_go_down(this); + } } } #ifdef SVQC -- 2.39.2