From 3cf3a3ceb32cca714bcbaeddb20d7a9c13b612b1 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 9 Oct 2007 20:52:54 +0000 Subject: fixed team bug --- src/game/client/game_client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/client') 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; } -- cgit 1.4.1