equal
deleted
inserted
replaced
568 } |
568 } |
569 |
569 |
570 SubtractMoneyFromPlayer(res2); |
570 SubtractMoneyFromPlayer(res2); |
571 |
571 |
572 if (IsLocalPlayer() && _game_mode != GM_EDITOR) { |
572 if (IsLocalPlayer() && _game_mode != GM_EDITOR) { |
573 if (res2.GetCost() != 0) ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res2.GetCost()); |
573 if (res2.GetCost() != 0 && tile != 0) ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res2.GetCost()); |
574 if (_additional_cash_required != 0) { |
574 if (_additional_cash_required != 0) { |
575 SetDParam(0, _additional_cash_required); |
575 SetDParam(0, _additional_cash_required); |
576 if (my_cmd) ShowErrorMessage(STR_0003_NOT_ENOUGH_CASH_REQUIRES, error_part1, x, y); |
576 if (my_cmd) ShowErrorMessage(STR_0003_NOT_ENOUGH_CASH_REQUIRES, error_part1, x, y); |
577 if (res2.GetCost() == 0) goto callb_err; |
577 if (res2.GetCost() == 0) goto callb_err; |
578 } |
578 } |