From 7ea2e717f6106f7284c2649d02456c99a8a0fe81 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 1 Sep 2016 11:07:50 +0200 Subject: [PATCH] Make it pass compilation unit test --- qcsrc/server/client.qc | 2 +- qcsrc/server/command/cmd.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index e3981dde4..2d1ff8657 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1866,7 +1866,7 @@ void ShowRespawnCountdown(entity this) } } -.int team_selected; +.bool team_selected; void JoinOrShowTeamSelection(entity this) { if(!teamplay || autocvar_g_campaign || autocvar_g_balance_teams || this.team_selected || (this.wasplayer && autocvar_g_changeteam_banned) || this.team_forced > 0) diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 6bd810906..bc5d560a3 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -312,7 +312,7 @@ void ClientCommand_say_team(entity caller, float request, float argc, string com } } -.int selectedteam; +.bool team_selected; void ClientCommand_selectteam(entity caller, float request, float argc) { switch (request) -- 2.39.2