summaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorxHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-24 15:58:27 +0000
committerxHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-24 15:58:27 +0000
commitb0c18ef9dfe4703484e03a836e44366294afa4ac (patch)
tree5a4ec90bbfdff47de224abc1eaaf4efd8095a763 /src/server.c
parentaec5ba5ca31f3d7c895beb658a93c353b2b8d5c1 (diff)
- '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
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c12
1 files changed, 6 insertions, 6 deletions
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