summaryrefslogtreecommitdiff
path: root/src/modules/modPipe.c
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.(none)>2009-11-28 12:29:27 +0100
committerDusan Durech <dusan@debian.(none)>2009-11-28 12:29:27 +0100
commite68fe427c0e608f233e3181e992d4fda5e43b6d2 (patch)
tree6d8430515e8eda88f0f5de1161b019d7d9052ddd /src/modules/modPipe.c
parent16a67a95379d3c3074df933aa4a752dac8294f50 (diff)
fix bug with call function from elf binary in module
Diffstat (limited to 'src/modules/modPipe.c')
-rw-r--r--src/modules/modPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index 297fc51..f8d1e1a 100644
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -281,8 +281,8 @@ static void action_eventshot(space_t *space, shot_t *shot, space_t *p_spacePipe)
space_action_from_location(p_spacePipe, action_eventpipe, shot, shot->x, shot->y, shot->w, shot->h);
if (shot->del == TRUE) {
- if (net_multiplayer_get_game_type() == NET_GAME_TYPE_SERVER) {
- proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
+ if (export_fce->fce_net_multiplayer_get_game_type() == NET_GAME_TYPE_SERVER) {
+ export_fce->fce_proto_send_del_server(PROTO_SEND_ALL, NULL, shot->id);
}
space_del_with_item(space, shot, export_fce->fce_shot_destroy);