diff options
author | Haru <haru@dotalux.com> | 2013-09-27 05:30:37 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-09-27 05:30:37 +0200 |
commit | b89f58edd8b368e2548ace86f06354bd6ea1c8d2 (patch) | |
tree | 2f30953a986a2690c333370d99232a43853a1781 /src/map/npc_chat.c | |
parent | 17bc1fab375f8ecc951fbba058a346b1460bf783 (diff) | |
download | hercules-b89f58edd8b368e2548ace86f06354bd6ea1c8d2.tar.gz hercules-b89f58edd8b368e2548ace86f06354bd6ea1c8d2.tar.bz2 hercules-b89f58edd8b368e2548ace86f06354bd6ea1c8d2.tar.xz hercules-b89f58edd8b368e2548ace86f06354bd6ea1c8d2.zip |
Renamed iMap interface to map
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc_chat.c')
-rw-r--r-- | src/map/npc_chat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c index 848347888..1372fff21 100644 --- a/src/map/npc_chat.c +++ b/src/map/npc_chat.c @@ -379,7 +379,7 @@ BUILDIN(defpattern) { int setid = script_getnum(st,2); const char* pattern = script_getstr(st,3); const char* label = script_getstr(st,4); - struct npc_data* nd = (struct npc_data *)iMap->id2bl(st->oid); + struct npc_data* nd = (struct npc_data *)map->id2bl(st->oid); npc_chat->def_pattern(nd, setid, pattern, label); @@ -388,7 +388,7 @@ BUILDIN(defpattern) { BUILDIN(activatepset) { int setid = script_getnum(st,2); - struct npc_data* nd = (struct npc_data *)iMap->id2bl(st->oid); + struct npc_data* nd = (struct npc_data *)map->id2bl(st->oid); npc_chat->activate_pcreset(nd, setid); @@ -397,7 +397,7 @@ BUILDIN(activatepset) { BUILDIN(deactivatepset) { int setid = script_getnum(st,2); - struct npc_data* nd = (struct npc_data *)iMap->id2bl(st->oid); + struct npc_data* nd = (struct npc_data *)map->id2bl(st->oid); npc_chat->deactivate_pcreset(nd, setid); @@ -406,7 +406,7 @@ BUILDIN(deactivatepset) { BUILDIN(deletepset) { int setid = script_getnum(st,2); - struct npc_data* nd = (struct npc_data *)iMap->id2bl(st->oid); + struct npc_data* nd = (struct npc_data *)map->id2bl(st->oid); npc_chat->delete_pcreset(nd, setid); |