From b0c18ef9dfe4703484e03a836e44366294afa4ac Mon Sep 17 00:00:00 2001 From: xHire Date: Mon, 24 Mar 2008 15:58:27 +0000 Subject: - 'BUBLIC_SERVER' replaced with 'PUBLIC_SERVER' - small changes in Makefile git-svn-id: http://opensvn.csie.org/tuxanci_ng@34 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/server.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server.c') diff --git a/src/server.c b/src/server.c index 1df2338..bf99659 100644 --- a/src/server.c +++ b/src/server.c @@ -20,11 +20,11 @@ #include "myTimer.h" #include "net_multiplayer.h" -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER #include "screen_world.h" #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER #include "publicServer.h" #endif @@ -286,7 +286,7 @@ void sendInfoCreateClient(client_t *client) proto_send_init_server(PROTO_SEND_ONE, client, client); -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER proto_send_newtux_server(PROTO_SEND_ONE, client, (tux_t *)(getWorldArena()->listTux->list[SERVER_INDEX_ROOT_TUX]) ); #endif @@ -553,7 +553,7 @@ void eventPeriodicSyncClient() { proto_send_ping_server(PROTO_SEND_ONE, thisClientSend); -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER proto_send_newtux_server(PROTO_SEND_ONE, thisClientSend, (tux_t *)(getWorldArena()->listTux->list[SERVER_INDEX_ROOT_TUX])); #endif @@ -664,12 +664,12 @@ void selectServerUdpSocket() int max_fd; int ret; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER tv.tv_sec = 0; tv.tv_usec = 0; #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER tv.tv_sec = 0; tv.tv_usec = 5000; #endif -- cgit v1.2.3