diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-16 21:18:11 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-16 21:18:11 +0000 |
commit | d3175115354bb2417f01877a96d0068e2f2c875d (patch) | |
tree | 3fe6dde2b7922eb12bc376687ae18a59971d908e /src/gui/skill.cpp | |
parent | 43a80fa64acb7f02cf5305b4a3d2ef6040b4b8c9 (diff) | |
download | mana-d3175115354bb2417f01877a96d0068e2f2c875d.tar.gz mana-d3175115354bb2417f01877a96d0068e2f2c875d.tar.bz2 mana-d3175115354bb2417f01877a96d0068e2f2c875d.tar.xz mana-d3175115354bb2417f01877a96d0068e2f2c875d.zip |
Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.
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") |