summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emap/script_buildins.c2
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;
}