diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2012-07-31 22:10:10 +0200 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2012-08-02 20:30:48 +0200 |
commit | d0b62bbe72ebaa7b83ada574a071f77e264c4dce (patch) | |
tree | adbdae287232540d394f1ae34e7e8d35786e45bf /src/game-server | |
parent | 2f9d465707a5c9b4594f77a233ef04fe51257cbf (diff) | |
download | manaserv-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.cpp | 4 |
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) |