summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-10-23 16:06:25 +0200
committerHaru <haru@dotalux.com>2016-10-23 16:06:25 +0200
commit5fdf937cbe04c75708ab27b4a15d0a63ffcedf02 (patch)
tree7bd0cc3c7535ff5fb5323efd2565f0bc04b30706 /src/map
parent96b70caec928b635797fea4ec48b82a445d5524d (diff)
downloadhercules-5fdf937cbe04c75708ab27b4a15d0a63ffcedf02.tar.gz
hercules-5fdf937cbe04c75708ab27b4a15d0a63ffcedf02.tar.bz2
hercules-5fdf937cbe04c75708ab27b4a15d0a63ffcedf02.tar.xz
hercules-5fdf937cbe04c75708ab27b4a15d0a63ffcedf02.zip
Removed the too small max key length limit on the npc_removed_list DBMap
- Fixes #1483 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
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) {