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)
This commit is contained in:
Nay
2012-07-24 15:27:42 +01:00
parent 4364f80d37
commit 0f04b2fc36
23 changed files with 97 additions and 92 deletions

View File

@@ -1224,7 +1224,7 @@ void ScriptMgr::OnPlayerTalentsReset(Player* player, bool noCost)
FOREACH_SCRIPT(PlayerScript)->OnTalentsReset(player, noCost);
}
void ScriptMgr::OnPlayerMoneyChanged(Player* player, int32& amount)
void ScriptMgr::OnPlayerMoneyChanged(Player* player, int64& amount)
{
FOREACH_SCRIPT(PlayerScript)->OnMoneyChanged(player, amount);
}