File diff r4548:6a33e364fba5 → r4549:76b9213799ac
economy.c
Show inline comments
 
@@ -246,8 +246,8 @@ void ChangeOwnershipOfPlayerItems(Player
 
	_current_player = old_player;
 

	
 
	/* Temporarily increase the player's money, to be sure that
 
	* removing his/her property doesn't fail because of lack of money.
 
	* Not too drastically though, because it could overflow */
 
	 * removing his/her property doesn't fail because of lack of money.
 
	 * Not too drastically though, because it could overflow */
 
	if (new_player == OWNER_SPECTATOR) {
 
		GetPlayer(old_player)->money64 = MAX_UVALUE(uint64) >>2; // jackpot ;p
 
		UpdatePlayerMoney32(GetPlayer(old_player));