diff options
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 3a5226e..61e63c8 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -4064,8 +4064,8 @@ void builtin_strnpcinfo(ScriptState *st) if (sdata->is<ScriptDataStr>()) { - NpcName name = stringish<NpcName>(ZString(conv_str(st, sdata))); - nd = npc_name2id(name); + NpcName name_ = stringish<NpcName>(ZString(conv_str(st, sdata))); + nd = npc_name2id(name_); } else { |