summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorshenhuyong <shenhuyong@hotmail.com>2013-10-03 14:26:16 +0800
committershenhuyong <shenhuyong@hotmail.com>2013-10-03 14:26:16 +0800
commitd153854f32c4fd9265010e6936db49e23137db08 (patch)
tree7b389a5693d5003e88880ce7bfb9d5500551ebb4 /src/map/intif.c
parentea84a19426cd401615421ee3f3d2eff2d741beb7 (diff)
parent2f2afbd3b63a75695f8f96e3bcb4db9fff5a7dc6 (diff)
downloadhercules-d153854f32c4fd9265010e6936db49e23137db08.tar.gz
hercules-d153854f32c4fd9265010e6936db49e23137db08.tar.bz2
hercules-d153854f32c4fd9265010e6936db49e23137db08.tar.xz
hercules-d153854f32c4fd9265010e6936db49e23137db08.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index e42679ec6..f31ab0f5a 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -454,8 +454,8 @@ int intif_party_changemap(struct map_session_data *sd,int online) {
if(!sd)
return 0;
- if( (m=map->mapindex2mapid(sd->mapindex)) >= 0 && maplist[m].instance_id >= 0 )
- mapindex = map_id2index(maplist[m].instance_src_map);
+ if( (m=map->mapindex2mapid(sd->mapindex)) >= 0 && map->list[m].instance_id >= 0 )
+ mapindex = map_id2index(map->list[m].instance_src_map);
else
mapindex = sd->mapindex;
@@ -918,7 +918,7 @@ void mapif_parse_WisToGM(int fd)
safestrncpy(Wisp_name, (char*)RFIFOP(fd,4), NAME_LENGTH);
safestrncpy(message, (char*)RFIFOP(fd,32), mes_len);
// information is sent to all online GM
- map->map_foreachpc(mapif_parse_WisToGM_sub, permission, Wisp_name, message, mes_len);
+ map->foreachpc(mapif_parse_WisToGM_sub, permission, Wisp_name, message, mes_len);
if (message != mbuf)
aFree(message);