diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-28 20:50:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-28 20:50:59 +0300 |
commit | f364a75c082beed87dba04261650e5e5a412bd57 (patch) | |
tree | 78b19bb1b3696bee5f66d61eb21f60518d9a636b /src/resources/db | |
parent | e7482b08370a87941f8d100d1f833f2128cb901c (diff) | |
download | plus-f364a75c082beed87dba04261650e5e5a412bd57.tar.gz plus-f364a75c082beed87dba04261650e5e5a412bd57.tar.bz2 plus-f364a75c082beed87dba04261650e5e5a412bd57.tar.xz plus-f364a75c082beed87dba04261650e5e5a412bd57.zip |
Improve sound db unload.
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/sounddb.cpp | 2 |
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) |