]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make it pass compilation unit test
authorterencehill <piuntn@gmail.com>
Thu, 1 Sep 2016 09:07:50 +0000 (11:07 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 1 Sep 2016 09:07:50 +0000 (11:07 +0200)
qcsrc/server/client.qc
qcsrc/server/command/cmd.qc

index e3981dde42d7596320cae990e6f9769c02a95357..2d1ff865778a8efda61ae4598f719ea83deaa282 100644 (file)
@@ -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)
index 6bd810906e7ede5299594ec734fcc78c5219205e..bc5d560a3f398d8d424be49ad3f5763adc9ad6eb 100644 (file)
@@ -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)