summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index ca10743..9c9163e 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -228,7 +228,8 @@ void proto_send_status_server(int type, client_t *client)
clients = getCurrentArena()->spaceTux->listIndex->count;
maxclients = getServerMaxClients();
uptime = (unsigned int)getUpdateServer();
- arena = getArenaNetName( getChoiceArenaId() );
+ //arena = getArenaNetName( getChoiceArenaId() );
+ //TODO
snprintf(msg, STR_PROTO_SIZE,
"name: %s\n"
@@ -346,10 +347,12 @@ void proto_send_init_server(int type, client_t *client, client_t *client2)
#endif
check_id = getNewIDcount(0);
-
+/*
snprintf(msg, STR_PROTO_SIZE, "init %d %d %d %d %s %d\n",
client2->tux->id, client2->tux->x, client2->tux->y,
count, getArenaNetName( getChoiceArenaId() ), check_id);
+*/
+ //TODO
//proto_send(type, client, msg);
protoSendClient(type, client, msg, CHECK_FRONT_TYPE_CHECK, check_id);
@@ -385,7 +388,8 @@ void proto_recv_init_client(char *msg)
return;
}
- setWorldArena( getArenaIdFormNetName(arena_name) );
+ //setWorldArena( getArenaIdFormNetName(arena_name) );
+ //TODO
arena = getCurrentArena();
arena->max_countRound = n;