summaryrefslogtreecommitdiff
path: root/src/base/gun.c
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.debian>2009-04-12 23:00:24 +0200
committerDusan Durech <dusan@debian.debian>2009-04-12 23:00:24 +0200
commit0287f62578cb4aa643649a9d62dc753586b16b30 (patch)
tree7f6e2721d71ab2824b7d163a5b878d390ddb7918 /src/base/gun.c
parent5876841408bf307d78d254b5ca355c61044e9e72 (diff)
fix bad preFixs
Diffstat (limited to 'src/base/gun.c')
-rw-r--r--src/base/gun.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/gun.c b/src/base/gun.c
index 653a180..6a4ed36 100644
--- a/src/base/gun.c
+++ b/src/base/gun.c
@@ -84,7 +84,7 @@ static void addShot(tux_t * tux, int x, int y, int px, int py)
{
int gun;
- if (netMultiplayer_get_game_type() == NET_GAME_TYPE_CLIENT)
+ if (net_multiplayer_get_game_type() == NET_GAME_TYPE_CLIENT)
return;
if (tux->gun == GUN_BOMBBALL)
@@ -236,17 +236,17 @@ static void putInGunMine(tux_t * tux)
arena = arena_get_current();
- if (arena__is_free_space(arena_get_current(), x, y, ITEM_MINE_WIDTH, ITEM_MINE_HEIGHT)) {
+ if (arena_is_free_space(arena_get_current(), x, y, ITEM_MINE_WIDTH, ITEM_MINE_HEIGHT)) {
item_t *item;
#ifndef NO_SOUND
sound_play("put_mine", SOUND_GROUP_BASE);
#endif
tux->shot[tux->gun]--;
- if (netMultiplayer_get_game_type() != NET_GAME_TYPE_CLIENT) {
+ if (net_multiplayer_get_game_type() != NET_GAME_TYPE_CLIENT) {
item = item_new(x, y, ITEM_MINE, tux->id);
- if (netMultiplayer_get_game_type() == NET_GAME_TYPE_SERVER)
+ if (net_multiplayer_get_game_type() == NET_GAME_TYPE_SERVER)
proto_send_additem_server(PROTO_SEND_ALL, NULL, item);
space_add(arena->spaceItem, item);