From 5fdf937cbe04c75708ab27b4a15d0a63ffcedf02 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 23 Oct 2016 16:06:25 +0200 Subject: Removed the too small max key length limit on the npc_removed_list DBMap - Fixes #1483 Signed-off-by: Haru --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/map.c b/src/map/map.c index 4eebafde0..16d5e645d 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -4139,7 +4139,7 @@ bool map_read_npclist(const char *filename, bool imported) if (!libconfig->load_file(&config, filename)) return false; - deleted_npcs = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_ALLOW_NULL_DATA, MAP_NAME_LENGTH); + deleted_npcs = strdb_alloc(DB_OPT_DUP_KEY|DB_OPT_ALLOW_NULL_DATA, 0); // Remove NPCs if ((setting = libconfig->lookup(&config, "npc_removed_list")) != NULL) { -- cgit v1.2.3-60-g2f50