summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2012-07-31 21:50:16 +0200
committerStefan Beller <stefanbeller@googlemail.com>2012-07-31 21:50:16 +0200
commit2f9d465707a5c9b4594f77a233ef04fe51257cbf (patch)
tree5d7d6e8a7e6e32c28278914cc0333cbf5361f840 /src/game-server
parent6eb5d8de435e6870aa63e1a34e880faa9fd784f2 (diff)
downloadmanaserv-2f9d465707a5c9b4594f77a233ef04fe51257cbf.tar.gz
manaserv-2f9d465707a5c9b4594f77a233ef04fe51257cbf.tar.bz2
manaserv-2f9d465707a5c9b4594f77a233ef04fe51257cbf.tar.xz
manaserv-2f9d465707a5c9b4594f77a233ef04fe51257cbf.zip
Gameserver raise attribute: correct integer size.
Acked-by: bjorn
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);