From e68fe427c0e608f233e3181e992d4fda5e43b6d2 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Sat, 28 Nov 2009 12:29:27 +0100 Subject: fix bug with call function from elf binary in module --- src/modules/modPipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/modPipe.c') 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); -- cgit v1.2.3