summaryrefslogtreecommitdiff
path: root/src/resources/db/sounddb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-28 20:50:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-28 20:50:59 +0300
commitf364a75c082beed87dba04261650e5e5a412bd57 (patch)
tree78b19bb1b3696bee5f66d61eb21f60518d9a636b /src/resources/db/sounddb.cpp
parente7482b08370a87941f8d100d1f833f2128cb901c (diff)
downloadmanaverse-f364a75c082beed87dba04261650e5e5a412bd57.tar.gz
manaverse-f364a75c082beed87dba04261650e5e5a412bd57.tar.bz2
manaverse-f364a75c082beed87dba04261650e5e5a412bd57.tar.xz
manaverse-f364a75c082beed87dba04261650e5e5a412bd57.zip
Improve sound db unload.
Diffstat (limited to 'src/resources/db/sounddb.cpp')
-rw-r--r--src/resources/db/sounddb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/sounddb.cpp b/src/resources/db/sounddb.cpp
index 3268a3e9c..4a4b7cd08 100644
--- a/src/resources/db/sounddb.cpp
+++ b/src/resources/db/sounddb.cpp
@@ -85,7 +85,7 @@ void SoundDB::unload()
{
mSounds.resize(NotifyTypes::TYPE_END);
for (int f = 0; f < NotifyTypes::TYPE_END; f ++)
- mSounds[f] = "";
+ mSounds[f].clear();
}
std::string &SoundDB::getSound(const int id)