summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-11-11 01:39:02 -0500
committerChuck Miller <shadowmil@gmail.com>2010-11-11 01:39:21 -0500
commit3dd1baab3fb00a3aa99447430f16a431a205c614 (patch)
tree0394d442b3d9de4784a4fea3a5f3e3773694faad
parenta644ec3a45db17681c7b933090b857df8cba3c0f (diff)
downloadmana-3dd1baab3fb00a3aa99447430f16a431a205c614.tar.gz
mana-3dd1baab3fb00a3aa99447430f16a431a205c614.tar.bz2
mana-3dd1baab3fb00a3aa99447430f16a431a205c614.tar.xz
mana-3dd1baab3fb00a3aa99447430f16a431a205c614.zip
Fix unloading of the emote database
Trivial fix
-rw-r--r--src/resources/emotedb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/emotedb.cpp b/src/resources/emotedb.cpp
index f48798b8..c542f7d0 100644
--- a/src/resources/emotedb.cpp
+++ b/src/resources/emotedb.cpp
@@ -128,6 +128,9 @@ void EmoteDB::unload()
{
delete i->second;
}
+
+ mEmotes.clear();
+
mLoaded = false;
}