diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-09-09 21:40:20 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-09-09 21:40:20 +0200 |
commit | 9f2ad5033c31eb6969e262f164c4cb7c911b60d4 (patch) | |
tree | 79f5ba7f299e989e2c2ac3e221ddcb2e6af6ba9d | |
parent | 569be1087e3f5f8e1dca2a8ab93e60938657d55f (diff) | |
download | manaserv-9f2ad5033c31eb6969e262f164c4cb7c911b60d4.tar.gz manaserv-9f2ad5033c31eb6969e262f164c4cb7c911b60d4.tar.bz2 manaserv-9f2ad5033c31eb6969e262f164c4cb7c911b60d4.tar.xz manaserv-9f2ad5033c31eb6969e262f164c4cb7c911b60d4.zip |
Fixed the equipment info for characters
It was a inventory slot not equipmentslot.
-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 90d1092f..32b33501 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -291,7 +291,7 @@ void AccountHandler::sendCharacterData(AccountClient &client, for (int itemSlot : equipData) { const auto &it = inventoryData.find(itemSlot); - charInfo.writeInt16(itemSlot); + charInfo.writeInt16(it->second.equipmentSlot); charInfo.writeInt16(it->second.itemId); } |