From ec59e95520d81c70f6c673f164ffb8f91ccd5d14 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Thu, 25 Jan 2018 19:07:34 +0100 Subject: [PATCH] Fixed a problem with instance_db import Fixes #2824 Thanks to @luan122 --- src/map/instance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/instance.cpp b/src/map/instance.cpp index fc5616c5d2..3504f0cbbb 100644 --- a/src/map/instance.cpp +++ b/src/map/instance.cpp @@ -927,6 +927,7 @@ static bool instance_readdb_sub(char* str[], int columns, int current) aFree(db->maplist); db->maplist = NULL; } + db->maplist_count = 0; } StringBuf_AppendStr(db->name, str[1]);