summaryrefslogtreecommitdiff
path: root/src/resources/db/statuseffectdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 17:03:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 17:03:45 +0300
commit800b0f0477ac00a447aa958d1974e2c01d4eaa6c (patch)
tree40bd91cef8f3890bfcaec92f0058d6a6027ac171 /src/resources/db/statuseffectdb.cpp
parentac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 (diff)
downloadmv-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.gz
mv-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.bz2
mv-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.xz
mv-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.zip
Remove some getters from StatusEffect.
Diffstat (limited to 'src/resources/db/statuseffectdb.cpp')
-rw-r--r--src/resources/db/statuseffectdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index 60ea6ea17..2c2dbeeff 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -149,7 +149,7 @@ void StatusEffectDB::loadXmlFile(const std::string &fileName)
startEffect->mIcon = XML::getProperty(node, "icon", "");
startEffect->mAction = XML::getProperty(node, "action", "");
- startEffect->mPersistentParticleEffect = (XML::getProperty(
+ startEffect->mIsPersistent = (XML::getProperty(
node, "persistent-particle-effect", "no")) != "no";
endEffect->mName = startEffect->mName;