summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 12:20:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit2cdf1b18d5593dfecacfc7b2e113c404dc64d1f4 (patch)
tree2c0feb59deb99dbd45338ed813177c6826b543fb /src/gui/windows/skilldialog.cpp
parent57978a09e9d32a44a95823716d790065d73f977a (diff)
downloadmv-2cdf1b18d5593dfecacfc7b2e113c404dc64d1f4.tar.gz
mv-2cdf1b18d5593dfecacfc7b2e113c404dc64d1f4.tar.bz2
mv-2cdf1b18d5593dfecacfc7b2e113c404dc64d1f4.tar.xz
mv-2cdf1b18d5593dfecacfc7b2e113c404dc64d1f4.zip
Use skill type struct in skill info.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp4
1 files changed, 2 insertions, 2 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)
{