summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-18 18:24:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-18 18:24:19 +0300
commit81dcbc085f750fa8dfe6401b774c1b930e95e5ca (patch)
tree71bde67e767e49d5c3c76181110734e724d39456 /src/gui
parent4932f8c69362844326616ad18b2b7da874f54b88 (diff)
downloadplus-81dcbc085f750fa8dfe6401b774c1b930e95e5ca.tar.gz
plus-81dcbc085f750fa8dfe6401b774c1b930e95e5ca.tar.bz2
plus-81dcbc085f750fa8dfe6401b774c1b930e95e5ca.tar.xz
plus-81dcbc085f750fa8dfe6401b774c1b930e95e5ca.zip
Add new parameter into paths.xml for default skill casting animation.
New parameter: skillCastingAnimation
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/skilldialog.cpp4
1 files changed, 3 insertions, 1 deletions
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", "");