From 2ac30322860274b5885707bf4e204f8af3198e65 Mon Sep 17 00:00:00 2001 From: avirox Date: Mon, 9 Jan 2006 02:03:12 +0000 Subject: [PATCH] -Fixed small typo in green team selection (it now recognizes its team number as 4, not 3) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@784 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- TeamNexuiz/game/gamec/cl_client.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TeamNexuiz/game/gamec/cl_client.c b/TeamNexuiz/game/gamec/cl_client.c index 7a5e16b09..1badb65c0 100644 --- a/TeamNexuiz/game/gamec/cl_client.c +++ b/TeamNexuiz/game/gamec/cl_client.c @@ -1227,14 +1227,14 @@ void SV_ParseClientCommand (string s) TeamFortress_TeamPutPlayerInTeam(); PutClientInServer (); } - if (d == "red" || d == "2") + if (d == "blue" || d == "1") { - TeamFortress_TeamSet (2); + TeamFortress_TeamSet (1); PutClientInServer (); } - if (d == "blue" || d == "1") + if (d == "red" || d == "2") { - TeamFortress_TeamSet (1); + TeamFortress_TeamSet (2); PutClientInServer (); } if (d == "yellow" || d == "3") @@ -1242,7 +1242,7 @@ void SV_ParseClientCommand (string s) TeamFortress_TeamSet (3); PutClientInServer (); } - if (d == "green" || d == "pink" || d == "3") // Morphed set it to Pink in the menus. I think + if (d == "green" || d == "pink" || d == "4") // Morphed set it to Pink in the menus. I think { // we should make it white instead. TeamFortress_TeamSet (4); PutClientInServer (); -- 2.39.2