diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-06-30 19:31:04 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-06-30 19:32:16 -0600 |
commit | cc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96 (patch) | |
tree | f789c2def45f27c0c2dd1fddf9f5dbb35711c74c /src/net/tmwserv/playerhandler.cpp | |
parent | 3d9af4e9cbb76221766eb3a7f859b60b4c09679a (diff) | |
download | mana-cc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96.tar.gz mana-cc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96.tar.bz2 mana-cc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96.tar.xz mana-cc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96.zip |
Use two bytes for skill ID
Diffstat (limited to 'src/net/tmwserv/playerhandler.cpp')
-rw-r--r-- | src/net/tmwserv/playerhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwserv/playerhandler.cpp b/src/net/tmwserv/playerhandler.cpp index b378817f..69a2bdb4 100644 --- a/src/net/tmwserv/playerhandler.cpp +++ b/src/net/tmwserv/playerhandler.cpp @@ -169,7 +169,7 @@ void PlayerHandler::handleMessage(MessageIn &msg) logger->log("EXP Update"); while (msg.getUnreadLength()) { - int skill = msg.readInt8(); + int skill = msg.readInt16(); int current = msg.readInt32(); int next = msg.readInt32(); |