From 68d6c8bc110bbecd39c47b0e00445b8b4b5eb278 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 11 Dec 2013 15:01:00 +0100 Subject: Corrected some local 'mapindex' variables shadowing the global one Signed-off-by: Haru --- src/map/battleground.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/battleground.h') diff --git a/src/map/battleground.h b/src/map/battleground.h index 7f15a4bbc..a24ae5ea9 100644 --- a/src/map/battleground.h +++ b/src/map/battleground.h @@ -94,12 +94,12 @@ struct battleground_interface { struct battleground_data* (*team_search) (int bg_id); struct map_session_data* (*getavailablesd) (struct battleground_data *bgd); int (*team_delete) (int bg_id); - int (*team_warp) (int bg_id, unsigned short mapindex, short x, short y); + int (*team_warp) (int bg_id, unsigned short map_index, short x, short y); int (*send_dot_remove) (struct map_session_data *sd); int (*team_join) (int bg_id, struct map_session_data *sd); int (*team_leave) (struct map_session_data *sd, int flag); int (*member_respawn) (struct map_session_data *sd); - int (*create) (unsigned short mapindex, short rx, short ry, const char *ev, const char *dev); + int (*create) (unsigned short map_index, short rx, short ry, const char *ev, const char *dev); int (*team_get_id) (struct block_list *bl); int (*send_message) (struct map_session_data *sd, const char *mes, int len); int (*send_xy_timer_sub) (DBKey key, DBData *data, va_list ap); -- cgit v1.2.3-70-g09d2