diff options
| author | Nay <dnpd.dd@gmail.com> | 2012-07-24 15:27:42 +0100 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2012-07-24 15:27:42 +0100 |
| commit | 0f04b2fc36593526cf1cc86667d37779691e1135 (patch) | |
| tree | 7945001bf56ba7194e3846153613f9af95822e95 /src/server/game/Handlers/GuildHandler.cpp | |
| parent | 4364f80d37560ba50ef01bdcea147e1d7cba0067 (diff) | |
Core/Misc: Update money to 64 bits (from 32), increasing the maximum gold possible
This got a bit messy and will be further fixed when all related packets are updated.
(Also fixed a typo in atoll msvc macro)
Diffstat (limited to 'src/server/game/Handlers/GuildHandler.cpp')
| -rwxr-xr-x | src/server/game/Handlers/GuildHandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Handlers/GuildHandler.cpp b/src/server/game/Handlers/GuildHandler.cpp index 9d91feabcf6..53862e99db9 100755 --- a/src/server/game/Handlers/GuildHandler.cpp +++ b/src/server/game/Handlers/GuildHandler.cpp @@ -396,13 +396,13 @@ void WorldSession::HandleGuildBankDepositMoney(WorldPacket & recv_data) { sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: Received (CMSG_GUILD_BANK_DEPOSIT_MONEY)"); - uint64 GoGuid; - recv_data >> GoGuid; + uint64 goGuid; + recv_data >> goGuid; - uint32 money; + uint64 money; recv_data >> money; - if (GetPlayer()->GetGameObjectIfCanInteractWith(GoGuid, GAMEOBJECT_TYPE_GUILD_BANK)) + if (GetPlayer()->GetGameObjectIfCanInteractWith(goGuid, GAMEOBJECT_TYPE_GUILD_BANK)) if (money && GetPlayer()->HasEnoughMoney(money)) if (Guild* guild = _GetPlayerGuild(this)) guild->HandleMemberDepositMoney(this, money); |
