summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2012-07-31 22:10:10 +0200
committerStefan Beller <stefanbeller@googlemail.com>2012-08-02 20:30:48 +0200
commitd0b62bbe72ebaa7b83ada574a071f77e264c4dce (patch)
treeadbdae287232540d394f1ae34e7e8d35786e45bf /src/game-server
parent2f9d465707a5c9b4594f77a233ef04fe51257cbf (diff)
downloadmanaserv-d0b62bbe72ebaa7b83ada574a071f77e264c4dce.tar.gz
manaserv-d0b62bbe72ebaa7b83ada574a071f77e264c4dce.tar.bz2
manaserv-d0b62bbe72ebaa7b83ada574a071f77e264c4dce.tar.xz
manaserv-d0b62bbe72ebaa7b83ada574a071f77e264c4dce.zip
Correct further int lengthes.
Reviewed-by: Ablu.
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/gamehandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/gamehandler.cpp b/src/game-server/gamehandler.cpp
index 19c07b8e..28f3bae8 100644
--- a/src/game-server/gamehandler.cpp
+++ b/src/game-server/gamehandler.cpp
@@ -819,7 +819,7 @@ void GameHandler::handleRaiseAttribute(GameClient &client, MessageIn &message)
MessageOut result(GPMSG_RAISE_ATTRIBUTE_RESPONSE);
result.writeInt8(retCode);
- result.writeInt32(attribute);
+ result.writeInt16(attribute);
client.send(result);
if (retCode == ATTRIBMOD_OK)
@@ -845,7 +845,7 @@ void GameHandler::handleLowerAttribute(GameClient &client, MessageIn &message)
MessageOut result(GPMSG_LOWER_ATTRIBUTE_RESPONSE);
result.writeInt8(retCode);
- result.writeInt32(attribute);
+ result.writeInt16(attribute);
client.send(result);
if (retCode == ATTRIBMOD_OK)