From f6b949498ddb7a3738405f76cb300134d2653247 Mon Sep 17 00:00:00 2001 From: mekolat Date: Fri, 13 Nov 2015 12:34:23 -0500 Subject: do not require a name for warps --- src/map/npc-parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/npc-parse.cpp b/src/map/npc-parse.cpp index 9ee84d2..0bd23a9 100644 --- a/src/map/npc-parse.cpp +++ b/src/map/npc-parse.cpp @@ -153,7 +153,7 @@ bool npc_load_warp(ast::npc::Warp& warp) nd->dir = DIR::S; nd->flag = 0; nd->sit = DamageType::STAND; - nd->name = warp.name.data; + nd->name = stringish(STRPRINTF("w%c%i"_fmt, 6, nd->bl_id)); nd->npc_class = WARP_CLASS; nd->speed = 200_ms; -- cgit v1.2.3-70-g09d2