diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/skilldata.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/skilldata.h | 1 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/skilldata.cpp b/src/gui/widgets/skilldata.cpp index 7accf214e..6137d768b 100644 --- a/src/gui/widgets/skilldata.cpp +++ b/src/gui/widgets/skilldata.cpp @@ -43,7 +43,8 @@ SkillData::SkillData() : soundMiss(std::string(), 0), updateEffectId(-1), removeEffectId(-1), - hitEffectId(-1) + hitEffectId(-1), + missEffectId(-1) { } diff --git a/src/gui/widgets/skilldata.h b/src/gui/widgets/skilldata.h index d374e7ec7..0317eccff 100644 --- a/src/gui/widgets/skilldata.h +++ b/src/gui/widgets/skilldata.h @@ -46,6 +46,7 @@ struct SkillData final int updateEffectId; int removeEffectId; int hitEffectId; + int missEffectId; SkillData(); A_DELETE_COPY(SkillData) diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 2e2e69fa9..2cf84c54c 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -376,6 +376,8 @@ void SkillDialog::loadXmlFile(const std::string &fileName) node, "removeEffectId", -1); data->hitEffectId = XML::getProperty( node, "hitEffectId", -1); + data->missEffectId = XML::getProperty( + node, "missEffectId", -1); skill->addData(level, data); } |