diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:04:06 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:04:06 +0000 |
commit | 164f19d705d0fc5745b7dda0547c23d1d06d05a1 (patch) | |
tree | 21e40e143b641a66b231196d21bd20a474834e26 /src/account-server | |
parent | a2f25c34db9db5c8fe57e0abdc9162531667fd06 (diff) | |
download | manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.gz manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.bz2 manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.xz manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.zip |
Implemented communication of attribute changes from server to client.
Diffstat (limited to 'src/account-server')
-rw-r--r-- | src/account-server/accounthandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index fc61ca72..9d9949f3 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -227,7 +227,7 @@ AccountHandler::handleLoginMessage(AccountClient &computer, MessageIn &msg) charInfo.writeByte(chars[i]->getHairStyle()); charInfo.writeByte(chars[i]->getHairColor()); charInfo.writeByte(chars[i]->getLevel()); - charInfo.writeShort(chars[i]->getMoney()); + charInfo.writeLong(chars[i]->getMoney()); for (int j = 0; j < NB_BASE_ATTRIBUTES; ++j) charInfo.writeShort(chars[i]->getBaseAttribute(j)); |