From 364d8762a17769c2bc78a794dae7b2b6eac7142d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 25 Nov 2013 12:55:04 -0200 Subject: Fixed Bug 7833 instance custom map names no longer linger in the index after the instance is destroyed http://hercules.ws/board/tracker/issue-7833-instancing-issues/ Signed-off-by: shennetsind --- src/common/mapindex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/mapindex.c') diff --git a/src/common/mapindex.c b/src/common/mapindex.c index a95e143c3..1d2569afe 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -179,6 +179,7 @@ int mapindex_init(void) { } int mapindex_removemap(int index){ + strdb_remove(mapindex_db, indexes[index].name); indexes[index].name[0] = '\0'; return 0; } -- cgit v1.2.3-60-g2f50