summaryrefslogtreecommitdiff
path: root/src/resources/db/statuseffectdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/statuseffectdb.cpp')
-rw-r--r--src/resources/db/statuseffectdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index a89915103..dbcf9226b 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -150,12 +150,13 @@ void StatusEffectDB::loadXmlFile(const std::string &fileName,
StatusEffect *startEffect = statusEffects[1][id];
StatusEffect *endEffect = statusEffects[0][id];
const std::string name = XML::getProperty(node, "name", "");
+ const std::string name2 = XML::langProperty(node, "name", "");
if (!startEffect)
startEffect = new StatusEffect;
if (!endEffect)
endEffect = new StatusEffect;
- startEffect->mName = name;
+ startEffect->mName = name2;
startEffect->mIsPoison =
(name == paths.getStringValue("poisonEffectName"));
startEffect->mIsCart =