From: terencehill Date: Fri, 6 Apr 2018 11:42:28 +0000 (+0200) Subject: Fix backward indentation... X-Git-Tag: xonotic-v0.8.5~2200 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7f48e53e71888a2460903393254a08f1fccc2033;p=xonotic%2Fxonotic-data.pk3dir.git Fix backward indentation... --- 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