command.c
changeset 534 306bc86eb23e
parent 507 04b5403aaf6b
child 543 946badd71033
equal deleted inserted replaced
533:404f9e37bff1 534:306bc86eb23e
   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