equal
deleted
inserted
replaced
491 |
491 |
492 if (_current_player == _local_player && _game_mode != GM_EDITOR) { |
492 if (_current_player == _local_player && _game_mode != GM_EDITOR) { |
493 if (res2 != 0) |
493 if (res2 != 0) |
494 ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res2); |
494 ShowCostOrIncomeAnimation(x, y, GetSlopeZ(x, y), res2); |
495 if (_additional_cash_required) { |
495 if (_additional_cash_required) { |
496 SET_DPARAM32(0, _additional_cash_required); |
496 SetDParam(0, _additional_cash_required); |
497 ShowErrorMessage(STR_0003_NOT_ENOUGH_CASH_REQUIRES, _error_message_2, x,y); |
497 ShowErrorMessage(STR_0003_NOT_ENOUGH_CASH_REQUIRES, _error_message_2, x,y); |
498 if (res2 == 0) goto callb_err; |
498 if (res2 == 0) goto callb_err; |
499 } |
499 } |
500 } |
500 } |
501 |
501 |