summaryrefslogtreecommitdiff
path: root/src/modules/modPipe.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/modules/modPipe.c
parent5876841408bf307d78d254b5ca355c61044e9e72 (diff)
fix bad preFixs
Diffstat (limited to 'src/modules/modPipe.c')
-rw-r--r--src/modules/modPipe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index 455bdce..1759fc5 100644
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -210,7 +210,7 @@ int init(export_fce_t * p)
return -1;
}
- if ((fce_move_shot = export_fce->fce_shareFunction_get("move_shot")) == NULL) {
+ if ((fce_move_shot = export_fce->fce_share_function_get("move_shot")) == NULL) {
return -1;
}
@@ -277,11 +277,11 @@ static void action_eventpipe(space_t * space, pipe_t * pipe, shot_t * shot)
}
if (negPosition(shot->position) == pipe->position &&
- export_fce->fce_netMultiplayer_get_game_type() != NET_GAME_TYPE_CLIENT) {
+ export_fce->fce_net_multiplayer_get_game_type() != NET_GAME_TYPE_CLIENT) {
moveShotFromPipe(shot, pipe);
} else {
if (shot->gun == GUN_BOMBBALL &&
- export_fce->fce_netMultiplayer_get_game_type() != NET_GAME_TYPE_CLIENT) {
+ export_fce->fce_net_multiplayer_get_game_type() != NET_GAME_TYPE_CLIENT) {
export_fce->fce_shot_bound_bombBall(shot);
} else {
//space_del_with_item(arena->spaceShot, shot, export_fce->fce_shot_destroy);
@@ -323,7 +323,7 @@ action_eventshot(space_t * space, shot_t * shot, space_t * p_spacePipe)
shot->y, shot->w, shot->h);
if (shot->del == TRUE) {
- if (netMultiplayer_get_game_type() == NET_GAME_TYPE_SERVER) {
+ if (net_multiplayer_get_game_type() == NET_GAME_TYPE_SERVER) {
proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
}
@@ -338,7 +338,7 @@ int event()
}
// na skusku
- if (export_fce->fce_netMultiplayer_get_game_type() == NET_GAME_TYPE_CLIENT) {
+ if (export_fce->fce_net_multiplayer_get_game_type() == NET_GAME_TYPE_CLIENT) {
return 0;
}