diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:52:16 +0300 |
commit | 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce (patch) | |
tree | b35a28cd317e2895c063749180b98edfe223c032 /src/gui/windows/skilldialog.cpp | |
parent | c24fefa91a1416a4dad7fd97d67cefa51f9eb97c (diff) | |
download | manaplus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.gz manaplus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.bz2 manaplus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.tar.xz manaplus-88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce.zip |
Fix code style in gui.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index f077341bf..0051dd1e7 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -332,7 +332,10 @@ void SkillDialog::action(const ActionEvent &event) if (tab) { if (const SkillInfo *const info = tab->getSelectedInfo()) - Net::getPlayerHandler()->increaseSkill(info->id); + { + Net::getPlayerHandler()->increaseSkill( + static_cast<uint16_t>(info->id)); + } } } else if (eventId == "sel") |