From: terencehill Date: Sat, 3 Sep 2016 18:42:12 +0000 (+0200) Subject: Split a too long line of code X-Git-Tag: xonotic-v0.8.2~622 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a9a56ba1fa79a7b95fee445b4a6e8c66eefff4cb;p=xonotic%2Fxonotic-data.pk3dir.git Split a too long line of code --- 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: