summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-18 23:28:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-18 23:28:40 +0300
commita302b00949151a2fcf291cfcad180f09cfbe33a5 (patch)
tree8f2e0c2d326ec4d9e6eb26e01c158f7358ddd844 /src/emap
parent6a006eed1a604b986d62a4ac75bfe5b3b8fc0c16 (diff)
downloadevol-hercules-a302b00949151a2fcf291cfcad180f09cfbe33a5.tar.gz
evol-hercules-a302b00949151a2fcf291cfcad180f09cfbe33a5.tar.bz2
evol-hercules-a302b00949151a2fcf291cfcad180f09cfbe33a5.tar.xz
evol-hercules-a302b00949151a2fcf291cfcad180f09cfbe33a5.zip
Use ext name in npc change dir handler.
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index f34206a..4af2cb1 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -154,7 +154,7 @@ void eset_reg_npcscope_num_pre(struct script_state **stPtr,
newdir = 7;
nd->dir = newdir;
- npc->enable(nd->name, 1);
+ npc->enable(nd->exname, 1);
hookStop();
}
else if (!strcmp(name, ".x"))