diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/resources/beinginfo.cpp | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 0fa815181..9c8799bc0 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -86,7 +86,7 @@ void BeingInfo::setTargetCursorSize(const std::string &size) void BeingInfo::addSound(SoundEvent event, const std::string &filename) { if (mSounds.find(event) == mSounds.end()) - mSounds[event] = new std::vector<std::string>; + mSounds[event] = new StringVect; if (mSounds[event]) mSounds[event]->push_back("sfx/" + filename); |