Split a too long line of code
authorterencehill <piuntn@gmail.com>
Sat, 3 Sep 2016 18:42:12 +0000 (20:42 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 3 Sep 2016 18:42:12 +0000 (20:42 +0200)
qcsrc/server/command/cmd.qc

index ce65924..af8d603 100644 (file)
@@ -488,9 +488,11 @@ void ClientCommand_spectate(entity caller, float request)
 
                                if (mutator_returnvalue == MUT_SPECCMD_RETURN) return;
 
-                               if ((IS_PLAYER(caller) || mutator_returnvalue == MUT_SPECCMD_FORCE) && autocvar_sv_spectate == 1) ClientKill_TeamChange(caller, -2); // observe
+                               if ((IS_PLAYER(caller) || mutator_returnvalue == MUT_SPECCMD_FORCE))
+                               if (autocvar_sv_spectate == 1)
+                                       ClientKill_TeamChange(caller, -2); // observe
                        }
-                       return;                                                                                                                        // never fall through to usage
+                       return; // never fall through to usage
                }
 
                default: