diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 73a023005..7be86ec1b 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -345,7 +345,7 @@ void SkillDialog::loadXmlFile(const std::string &fileName) bool SkillDialog::updateSkill(const int id, const int range, const bool modifiable, - const int type) + const SkillType::SkillType type) { const SkillMap::const_iterator it = mSkills.find(id); @@ -369,7 +369,7 @@ void SkillDialog::addSkill(const int id, const int level, const int range, const bool modifiable, - const int type) + const SkillType::SkillType type) { if (mDefaultModel) { diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h index 39082c1e7..8e2c325a0 100644 --- a/src/gui/windows/skilldialog.h +++ b/src/gui/windows/skilldialog.h @@ -27,6 +27,8 @@ #include "listeners/actionlistener.h" +#include "resources/skilltype.h" + class Button; class Label; class SkillModel; @@ -76,14 +78,14 @@ class SkillDialog final : public Window, bool updateSkill(const int id, const int range, const bool modifiable, - const int type); + const SkillType::SkillType type); void addSkill(const int id, const std::string &name, const int level, const int range, const bool modifiable, - const int type); + const SkillType::SkillType type); SkillInfo* getSkill(const int id) const A_WARN_UNUSED; |