diff options
Diffstat (limited to 'src/map/npc.cpp')
-rw-r--r-- | src/map/npc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/npc.cpp b/src/map/npc.cpp index fa2603d..e859e2d 100644 --- a/src/map/npc.cpp +++ b/src/map/npc.cpp @@ -937,6 +937,8 @@ void register_npc_name(dumb_ptr<npc_data> nd) }; if (!nd->name) { + if (nd->npc_subtype == NpcSubtype::MESSAGE) + return; PRINTF("WARNING: npc with no name:\n%s @ %s,%d,%d\n", types[static_cast<int>(nd->npc_subtype)], nd->bl_m->name_, nd->bl_x, nd->bl_y); |