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/teleport.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/teleport.c') diff --git a/src/teleport.c b/src/teleport.c index 397acb7..da7b740 100644 --- a/src/teleport.c +++ b/src/teleport.c @@ -9,27 +9,27 @@ #include "net_multiplayer.h" #include "proto.h" -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER #include "layer.h" #include "screen_world.h" #include "sound.h" #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER #include "publicServer.h" #endif -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER teleport_t* newTeleport(int x, int y, int w, int h, int layer, SDL_Surface *img) #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER teleport_t* newTeleport(int x, int y, int w, int h, int layer) #endif { teleport_t *new; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER assert( img != NULL ); #endif @@ -41,13 +41,13 @@ teleport_t* newTeleport(int x, int y, int w, int h, int layer) new->w = w; new->h = h; new->layer = layer; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER new->img = img; #endif return new; } -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER void drawTeleport(teleport_t *p) { @@ -217,7 +217,7 @@ void eventTeleportTux(list_t *listTeleport, teleport_t *teleport, tux_t *tux) if( isFreeSpace(dist_x, dist_y, TUX_WIDTH, TUX_HEIGHT) ) { setTuxProportion(tux, dist_x, dist_y); -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER playSound("teleport", SOUND_GROUP_BASE); #endif if( getNetTypeGame() == NET_GAME_TYPE_SERVER ) -- cgit v1.2.3