From a9a56ba1fa79a7b95fee445b4a6e8c66eefff4cb Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 3 Sep 2016 20:42:12 +0200 Subject: [PATCH] Split a too long line of code --- qcsrc/server/command/cmd.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index ce6592408..af8d60310 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -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: -- 2.39.2