From 74296b5f2f8b572d3037a9de23c2e8dd1c372a7b Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 23 Jun 2008 14:52:45 +0000 Subject: - popora AI v moduloch - zjednodusenie sietoveho protokolu - oprava chyb git-svn-id: http://opensvn.csie.org/tuxanci_ng@68 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/client.c') diff --git a/src/client.c b/src/client.c index 0009909..2210a3a 100644 --- a/src/client.c +++ b/src/client.c @@ -156,13 +156,10 @@ void eventServerBuffer() if( strncmp(line, "init", 4) == 0 )proto_recv_init_client(line); if( strncmp(line, "event", 5) == 0 )proto_recv_event_client(line); if( strncmp(line, "newtux", 6) == 0 )proto_recv_newtux_client(line); - if( strncmp(line, "deltux", 6) == 0 )proto_recv_deltux_client(line); + if( strncmp(line, "del", 3) == 0 )proto_recv_del_client(line); if( strncmp(line, "additem", 7) == 0 )proto_recv_additem_client(line); - if( strncmp(line, "item", 4) == 0 )proto_recv_item_client(line); if( strncmp(line, "shot", 4) == 0 )proto_recv_shot_client(line); - if( strncmp(line, "delshot", 7) == 0 )proto_recv_delshot_client(line); if( strncmp(line, "kill", 4) == 0 )proto_recv_kill_client(line); - if( strncmp(line, "score", 5) == 0 )proto_recv_score_client(line); if( strncmp(line, "ping", 4) == 0 )proto_recv_ping_client(line); if( strncmp(line, "end", 3) == 0 )proto_recv_end_client(line); -- cgit v1.2.3