diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-02 15:30:29 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-02 15:30:29 +0000 |
| commit | 1367304b8c764d59f3bc9700db30c04d2deea8a6 (patch) | |
| tree | 8743839f33782623cfeae0bffc119fa77ac3b190 /src | |
| parent | f7222e01e1f9d3732541e90497f1e535daa02825 (diff) | |
- oprava chyby, sietova hra spadla ak ste cheli hrat viac ako raz
- server neoznamoval clientovy info o tom, ze ma nespravnu verziu
git-svn-id: http://opensvn.csie.org/tuxanci_ng@86 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src')
| -rw-r--r-- | src/base/proto.c | 1 | ||||
| -rw-r--r-- | src/screen/screen_world.c | 2 |
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() ) { |