summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/defaults.cpp1
-rw-r--r--src/gui/windows/skilldialog.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index cacd7042f..327a4db73 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -644,6 +644,7 @@ DefaultsData* getPathsDefaults()
AddDEF("gmCharCommandSymbol", "#");
AddDEF("linkCommandSymbol", "=");
AddDEF("emptyAtlasName", "ignored");
+ AddDEF("skillCastingAnimation", "");
AddDEF("palettesDir", "");
AddDEF("defaultPaletteFile", "palette.gpl");
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index f42ce92ff..7a34ab4f7 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -391,7 +391,9 @@ void SkillDialog::loadXmlFile(const std::string &fileName,
data->particle = XML::getProperty(
node, "particle", "");
data->castingAnimation = XML::getProperty(
- node, "castingAnimation", "");
+ node,
+ "castingAnimation",
+ paths.getStringValue("skillCastingAnimation"));
data->soundHit.sound = XML::getProperty(
node, "soundHit", "");