From 1c1752f40aac20bf9a5e56817951a013c2219bed Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 10 Jun 2014 15:31:24 -0700 Subject: Generate the map server protocol Sigh, map server will have no smart filters yet --- src/map/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.cpp') diff --git a/src/map/script.cpp b/src/map/script.cpp index 6cac082..b1af725 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -4038,7 +4038,7 @@ void builtin_fakenpcname(ScriptState *st) { NpcName name = stringish(ZString(conv_str(st, &AARGO2(2)))); NpcName newname = stringish(ZString(conv_str(st, &AARGO2(3)))); - int newsprite = conv_num(st, &AARGO2(4)); + Species newsprite = wrap(static_cast(conv_num(st, &AARGO2(4)))); dumb_ptr nd = npc_name2id(name); if (!nd) { -- cgit v1.2.3-60-g2f50