diff options
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 5a913fb39..4e9d85c9b 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -324,7 +324,7 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player) * removing his/her property doesn't fail because of lack of money. * Not too drastically though, because it could overflow */ if (new_player == PLAYER_SPECTATOR) { - GetPlayer(old_player)->player_money = MAX_UVALUE(uint64) >> 2; // jackpot ;p + GetPlayer(old_player)->player_money = UINT64_MAX >> 2; // jackpot ;p } if (new_player == PLAYER_SPECTATOR) { |