summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/resources/beinginfo.cpp
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp2
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);