diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-05 19:03:27 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-05 19:03:27 +0200 |
commit | 6c98fc5c74fce6cf2135d9add874717434d4ac12 (patch) | |
tree | 4399e78c4388ed43e9b836fff695d2bd99254f57 | |
parent | f82d012e96cf90556a213bf6058de43dc0a9ae7f (diff) | |
download | mana-6c98fc5c74fce6cf2135d9add874717434d4ac12.tar.gz mana-6c98fc5c74fce6cf2135d9add874717434d4ac12.tar.bz2 mana-6c98fc5c74fce6cf2135d9add874717434d4ac12.tar.xz mana-6c98fc5c74fce6cf2135d9add874717434d4ac12.zip |
Unloading mNamedItemInfos
How to reproduce the bug: Switch login, then for every
item there is this warning in the log file:
"ItemDB: Duplicate name of item found".
Reviewed-by: thorbjorn
-rw-r--r-- | src/resources/itemdb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 3fdee021..cb91e8d3 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -256,6 +256,7 @@ void ItemDB::unload() delete_all(mItemInfos); mItemInfos.clear(); + mNamedItemInfos.clear(); mLoaded = false; } |