about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-10-09 20:52:54 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-10-09 20:52:54 +0000
commit3cf3a3ceb32cca714bcbaeddb20d7a9c13b612b1 (patch)
treebbaa7630f60a82b679f37854ba48a636ba4e8e30 /src/game/client
parentf6216e9a3a444466807c21ae298db3cdb8d0049a (diff)
downloadzcatch-3cf3a3ceb32cca714bcbaeddb20d7a9c13b612b1.tar.gz
zcatch-3cf3a3ceb32cca714bcbaeddb20d7a9c13b612b1.zip
fixed team bug
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/game_client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index ad0aff9c..85180372 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -2422,7 +2422,6 @@ extern "C" void modc_render()
 			msg_pack_int(config.team);
 			msg_pack_end();
 			client_send_msg();
-			config.team = -10;
 		}
 	}
 	else // if (client_state() != CLIENTSTATE_CONNECTING && client_state() != CLIENTSTATE_LOADING)
@@ -2436,6 +2435,9 @@ extern "C" void modc_render()
 		if(modmenu_render(false) == -1)
 			client_quit();
 	}
+	
+	//
+	config.team = -10;
 }