equal
deleted
inserted
replaced
592 } |
592 } |
593 _returned_refit_capacity = pass; |
593 _returned_refit_capacity = pass; |
594 |
594 |
595 cost = 0; |
595 cost = 0; |
596 if (IS_HUMAN_PLAYER(v->owner) && new_cid != v->cargo_type) { |
596 if (IS_HUMAN_PLAYER(v->owner) && new_cid != v->cargo_type) { |
597 cost = _price.aircraft_base >> 7; |
597 cost = (EngInfo(v->engine_type)->refit_cost * _price.aircraft_base) >> 10; |
598 } |
598 } |
599 |
599 |
600 if (flags & DC_EXEC) { |
600 if (flags & DC_EXEC) { |
601 Vehicle *u; |
601 Vehicle *u; |
602 v->cargo_cap = pass; |
602 v->cargo_cap = pass; |