summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/proto.c1
-rw-r--r--src/screen/screen_world.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index 3936917..9c9c3c7 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -96,6 +96,7 @@ void proto_recv_hello_server(client_t *client, char *msg)
if( strncmp(version, TUXANCI_NG_VERSION, strlen(TUXANCI_NG_VERSION)) != 0 )
{
proto_send_error_server(PROTO_SEND_ONE, client, PROTO_ERROR_CODE_BAD_VERSION);
+ eventMsgInCheckFront(client);
client->status = NET_STATUS_ZOMBIE;
return;
}
diff --git a/src/screen/screen_world.c b/src/screen/screen_world.c
index c758e06..78628b2 100644
--- a/src/screen/screen_world.c
+++ b/src/screen/screen_world.c
@@ -126,7 +126,7 @@ void prepareArena()
tux_t *tux;
//printf("getSettingAI = %s\n", getSettingAI());
- arena = NULL;
+ setCurrentArena(NULL);
switch( getNetTypeGame() )
{