From db232cbf9f4797433d1d9ba8f5dd58fc44a04180 Mon Sep 17 00:00:00 2001 From: mekolat Date: Sat, 22 Aug 2015 13:36:30 -0400 Subject: fix compilation errors --- src/map/script-fun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/script-fun.cpp') 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()) { - NpcName name = stringish(ZString(conv_str(st, sdata))); - nd = npc_name2id(name); + NpcName name_ = stringish(ZString(conv_str(st, sdata))); + nd = npc_name2id(name_); } else { -- cgit v1.2.3-60-g2f50