diff options
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r-- | src/gui/skill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index b65fcfd9..c2e09819 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -133,8 +133,8 @@ void SkillDialog::action(const std::string& eventId) if (player_info->skillPoint > 0 && selectedSkill >= 0) { MessageOut outMsg; - outMsg.writeShort(CMSG_SKILL_LEVELUP_REQUEST); - outMsg.writeShort(skillList[selectedSkill]->id); + outMsg.writeInt16(CMSG_SKILL_LEVELUP_REQUEST); + outMsg.writeInt16(skillList[selectedSkill]->id); } } else if (eventId == "skill") |