]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix backward indentation...
authorterencehill <piuntn@gmail.com>
Fri, 6 Apr 2018 11:42:28 +0000 (13:42 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 6 Apr 2018 11:42:28 +0000 (13:42 +0200)
qcsrc/common/triggers/func/door.qc

index f768717c6bbde4c18c6ba50c6b05a7e773466b3a..956114a26b38a95a85d7c2225405eca5b2330bf7 100644 (file)
@@ -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