diff options
author | Haru <haru@dotalux.com> | 2013-12-11 15:01:00 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-12-11 15:03:52 +0100 |
commit | 68d6c8bc110bbecd39c47b0e00445b8b4b5eb278 (patch) | |
tree | 98804fe393e6559399e5ff0c86a73026c889a1f8 /src/map/battleground.h | |
parent | 27cf11151de917892b22794c1aa798620a484850 (diff) | |
download | hercules-68d6c8bc110bbecd39c47b0e00445b8b4b5eb278.tar.gz hercules-68d6c8bc110bbecd39c47b0e00445b8b4b5eb278.tar.bz2 hercules-68d6c8bc110bbecd39c47b0e00445b8b4b5eb278.tar.xz hercules-68d6c8bc110bbecd39c47b0e00445b8b4b5eb278.zip |
Corrected some local 'mapindex' variables shadowing the global one
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battleground.h')
-rw-r--r-- | src/map/battleground.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |