summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h2
-rw-r--r--src/base/proto.c1
-rw-r--r--src/screen/screen_world.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/config.h b/config.h
index 785fc91..a97ed63 100644
--- a/config.h
+++ b/config.h
@@ -6,6 +6,6 @@
#define DEBUG_CLIENT_RECV
*/
-#define TUXANCI_NG_VERSION "svn85"
+#define TUXANCI_NG_VERSION "svn86"
#define DESTDIR "/usr/local/"
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() )
{