From 2cdf1b18d5593dfecacfc7b2e113c404dc64d1f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Sep 2014 12:20:58 +0300 Subject: Use skill type struct in skill info. --- src/gui/windows/skilldialog.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/skilldialog.h') 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; -- cgit v1.2.3-60-g2f50