summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"))