From: terencehill Date: Thu, 1 Sep 2016 09:07:50 +0000 (+0200) Subject: Make it pass compilation unit test X-Git-Tag: xonotic-v0.8.2~620^2~6 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=7ea2e717f6106f7284c2649d02456c99a8a0fe81;p=xonotic%2Fxonotic-data.pk3dir.git Make it pass compilation unit test --- 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)