diff options
author | Haru <haru@dotalux.com> | 2016-10-23 16:06:25 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-10-23 16:06:25 +0200 |
commit | 5fdf937cbe04c75708ab27b4a15d0a63ffcedf02 (patch) | |
tree | 7bd0cc3c7535ff5fb5323efd2565f0bc04b30706 /src | |
parent | 96b70caec928b635797fea4ec48b82a445d5524d (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/map.c | 2 |
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) { |