summaryrefslogtreecommitdiff
path: root/src/resources/db/statuseffectdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-10 22:19:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-10 22:22:53 +0300
commit4aa184df5a208c51cb0141ae6a609c60294d8323 (patch)
tree35d8be02657f234ac2803c2cd3f4c30780e237ac /src/resources/db/statuseffectdb.cpp
parentf9a7f96525c7485de4cf27f973f0b52f5d74f048 (diff)
downloadmv-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.gz
mv-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.bz2
mv-4aa184df5a208c51cb0141ae6a609c60294d8323.tar.xz
mv-4aa184df5a208c51cb0141ae6a609c60294d8323.zip
Rename StatusEffect::getParticle into StatusEffect::getStartParticle
Diffstat (limited to 'src/resources/db/statuseffectdb.cpp')
-rw-r--r--src/resources/db/statuseffectdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index 256fbaf88..4e73b8ee7 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -166,7 +166,7 @@ void StatusEffectDB::loadXmlFile(const std::string &fileName,
node, "start-message", "");
startEffect->mSFXEffect = XML::getProperty(
node, "start-audio", "");
- startEffect->mParticleEffect = XML::getProperty(
+ startEffect->mStartParticleEffect = XML::getProperty(
node, "start-particle", "");
startEffect->mIcon = XML::getProperty(node, "icon", "");
@@ -182,7 +182,7 @@ void StatusEffectDB::loadXmlFile(const std::string &fileName,
endEffect->mIsPostDelay = startEffect->mIsPostDelay;
endEffect->mMessage = XML::getProperty(node, "end-message", "");
endEffect->mSFXEffect = XML::getProperty(node, "end-audio", "");
- endEffect->mParticleEffect = XML::getProperty(
+ endEffect->mStartParticleEffect = XML::getProperty(
node, "end-particle", "");
statusEffects[1][id] = startEffect;