diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:16 +0300 |
commit | 05f6f3e94abc5c1e1801d62100cef494e2711474 (patch) | |
tree | d3ee874dd7fa9c6b6170cae8435ea7f18eb1f102 /src/net/ea/skillhandler.cpp | |
parent | 11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff) | |
download | plus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.gz plus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.bz2 plus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.xz plus-05f6f3e94abc5c1e1801d62100cef494e2711474.zip |
Add missing const and static into net classes.
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r-- | src/net/ea/skillhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp index 3f5b38c68..3a5a1ab75 100644 --- a/src/net/ea/skillhandler.cpp +++ b/src/net/ea/skillhandler.cpp @@ -71,7 +71,7 @@ SkillHandler::SkillHandler() { } -void SkillHandler::processPlayerSkills(Net::MessageIn &msg) const +void SkillHandler::processPlayerSkills(Net::MessageIn &msg) { msg.readInt16(); // length const int skillCount = (msg.getLength() - 4) / 37; @@ -101,7 +101,7 @@ void SkillHandler::processPlayerSkills(Net::MessageIn &msg) const skillDialog->playUpdateEffect(updateSkill); } -void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg) const +void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg) { const int skillId = msg.readInt16(); const int level = msg.readInt16(); @@ -119,7 +119,7 @@ void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg) const } } -void SkillHandler::processSkillFailed(Net::MessageIn &msg) const +void SkillHandler::processSkillFailed(Net::MessageIn &msg) { // Action failed (ex. sit because you have not reached the // right level) |