mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 05:16:37 +00:00
Fix compile error with GCC
This commit is contained in:
@@ -1172,7 +1172,7 @@ uint32 Client::CalcCurrentWeight() {
|
||||
*/
|
||||
|
||||
// SoD+ client has no weight for coin
|
||||
if (EQLimits::CoinHasWeight(ClientVersion))
|
||||
if (EQLimits::CoinHasWeight(GetClientVersion()))
|
||||
Total += (m_pp.platinum + m_pp.gold + m_pp.silver + m_pp.copper) / 4;
|
||||
|
||||
float Packrat = (float)spellbonuses.Packrat + (float)aabonuses.Packrat + (float)itembonuses.Packrat;
|
||||
|
||||
Reference in New Issue
Block a user