diff options
| author | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-24 15:58:27 +0000 |
|---|---|---|
| committer | xHire <xHire@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-24 15:58:27 +0000 |
| commit | b0c18ef9dfe4703484e03a836e44366294afa4ac (patch) | |
| tree | 5a4ec90bbfdff47de224abc1eaaf4efd8095a763 /src/gun.c | |
| parent | aec5ba5ca31f3d7c895beb658a93c353b2b8d5c1 (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/gun.c')
| -rw-r--r-- | src/gun.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -14,14 +14,14 @@ #include "proto.h" #include "net_multiplayer.h" -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER #include "sound.h" #include "screen_world.h" #include "interface.h" #include "term.h" #endif -#ifdef BUBLIC_SERVER +#ifdef PUBLIC_SERVER #include "publicServer.h" #endif @@ -235,7 +235,7 @@ static void putInGunMine(tux_t *tux) { item_t *item; -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER char msg[STR_SIZE]; playSound("put_mine", SOUND_GROUP_BASE); sprintf(msg, "tux with id %d pu mine\n", tux->id); @@ -264,31 +264,31 @@ void shotInGun(tux_t *tux) switch( tux->gun ) { case GUN_SIMPLE : -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER playSound("gun_revolver", SOUND_GROUP_BASE); #endif shotInGunSimpe(tux); break; case GUN_DUAL_SIMPLE : -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER playSound("gun_revolver", SOUND_GROUP_BASE); #endif shotInGunDualSimpe(tux); break; case GUN_SCATTER : -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER playSound("gun_scatter", SOUND_GROUP_BASE); #endif shotInGunScatter(tux); break; case GUN_TOMMY : -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER playSound("gun_tommy", SOUND_GROUP_BASE); #endif shotInGunTommy(tux); break; case GUN_LASSER : -#ifndef BUBLIC_SERVER +#ifndef PUBLIC_SERVER playSound("gun_lasser", SOUND_GROUP_BASE); #endif shotInGunLasser(tux); |