summaryrefslogtreecommitdiff
path: root/src/pipe.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/pipe.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/pipe.c')
-rw-r--r--src/pipe.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pipe.c b/src/pipe.c
index dde1a11..19b12c5 100644
--- a/src/pipe.c
+++ b/src/pipe.c
@@ -8,27 +8,27 @@
#include "shot.h"
#include "net_multiplayer.h"
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
#include "screen_world.h"
#include "layer.h"
#endif
-#ifdef BUBLIC_SERVER
+#ifdef PUBLIC_SERVER
#include "publicServer.h"
#endif
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position, SDL_Surface *img)
#endif
-#ifdef BUBLIC_SERVER
+#ifdef PUBLIC_SERVER
pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int position)
#endif
{
pipe_t *new;
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
assert( img != NULL );
#endif
@@ -43,13 +43,13 @@ pipe_t* newPipe(int x, int y, int w, int h, int layer, int id, int id_out, int p
new->id = id;
new->id_out = id_out;
new->position = position;
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
new->img = img;
#endif
return new;
}
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
void drawPipe(pipe_t *p)
{