diff options
author | shennetsind <ind@henn.et> | 2013-11-25 12:55:04 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-25 12:55:04 -0200 |
commit | 364d8762a17769c2bc78a794dae7b2b6eac7142d (patch) | |
tree | 8553e31e61f26d1df93c268f6f972d27aa7444a4 | |
parent | 678b98974820ce0463219fa4b2e2c8006be05ce0 (diff) | |
download | hercules-364d8762a17769c2bc78a794dae7b2b6eac7142d.tar.gz hercules-364d8762a17769c2bc78a794dae7b2b6eac7142d.tar.bz2 hercules-364d8762a17769c2bc78a794dae7b2b6eac7142d.tar.xz hercules-364d8762a17769c2bc78a794dae7b2b6eac7142d.zip |
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 <ind@henn.et>
-rw-r--r-- | src/common/mapindex.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |