diff options
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r-- | src/effectmanager.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp index 45211c56..576d48b6 100644 --- a/src/effectmanager.cpp +++ b/src/effectmanager.cpp @@ -34,8 +34,12 @@ EffectManager::EffectManager() if (!root || !xmlStrEqual(root->name, BAD_CAST "effects")) { - logger->log("Error loading being effects file: effects.xml"); - return; + // Handle old naming until the 0.5.x versions are obsolete. + if (!root || !xmlStrEqual(root->name, BAD_CAST "being-effects")) + { + logger->log("Error loading being effects file: effects.xml"); + return; + } } else { |