diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-19 00:56:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-19 00:56:03 +0300 |
commit | 2cfa1a8f0f8bb224654126eb08b67566ee4bc721 (patch) | |
tree | 554672f06ca49ed211df9e3f3baa60abaacd44b6 /src/emap/script_buildins.c | |
parent | a302b00949151a2fcf291cfcad180f09cfbe33a5 (diff) | |
download | evol-hercules-2cfa1a8f0f8bb224654126eb08b67566ee4bc721.tar.gz evol-hercules-2cfa1a8f0f8bb224654126eb08b67566ee4bc721.tar.bz2 evol-hercules-2cfa1a8f0f8bb224654126eb08b67566ee4bc721.tar.xz evol-hercules-2cfa1a8f0f8bb224654126eb08b67566ee4bc721.zip |
Use exname in setnpcdir command.
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r-- | src/emap/script_buildins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index a7b51fb..28391cf 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -609,7 +609,7 @@ BUILDIN(setNpcDir) newdir = 7; nd->dir = newdir; - npc->enable (nd->name, 1); + npc->enable(nd->exname, 1); return true; } |