summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2012-07-31 21:46:40 +0200
committerStefan Beller <stefanbeller@googlemail.com>2012-07-31 21:46:40 +0200
commit211b0d7ae9e22a3b3589cb0d6db20a01e021ffdc (patch)
tree72df4dda0681710059425f0006019ed13717978b /src/game-server
parent6107334720625e1e50c7ac04cda7b0fa161d1dca (diff)
downloadmanaserv-211b0d7ae9e22a3b3589cb0d6db20a01e021ffdc.tar.gz
manaserv-211b0d7ae9e22a3b3589cb0d6db20a01e021ffdc.tar.bz2
manaserv-211b0d7ae9e22a3b3589cb0d6db20a01e021ffdc.tar.xz
manaserv-211b0d7ae9e22a3b3589cb0d6db20a01e021ffdc.zip
Gameserver raise attribute: correct integer size.
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/gamehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/gamehandler.cpp b/src/game-server/gamehandler.cpp
index 8b8c67a3..19c07b8e 100644
--- a/src/game-server/gamehandler.cpp
+++ b/src/game-server/gamehandler.cpp
@@ -813,7 +813,7 @@ void GameHandler::handleNpcBuySell(GameClient &client, MessageIn &message)
void GameHandler::handleRaiseAttribute(GameClient &client, MessageIn &message)
{
- const int attribute = message.readInt32();
+ const int attribute = message.readInt16();
AttribmodResponseCode retCode;
retCode = client.character->useCharacterPoint(attribute);