From 61659b67d5344eb9cf315f72774b7cc015602770 Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 27 Aug 2006 21:20:29 +0000 Subject: (svn r6178) -Fix r5886: only setting ->money64 isn't enough, as some routines still use ->player_money. Because of this, when a player went bankrupt, still not all stuff was removed. --- economy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/economy.c b/economy.c index 1abdda6d7..64c947a28 100644 --- a/economy.c +++ b/economy.c @@ -249,6 +249,7 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player) * removing his/her property doesn't fail because of lack of money */ if (new_player == OWNER_SPECTATOR) { GetPlayer(old_player)->money64 = ((uint64)-1)>>1; // jackpot ;p + UpdatePlayerMoney32(GetPlayer(old_player)); } if (new_player == OWNER_SPECTATOR) { -- cgit v1.2.3-70-g09d2