aircraft_cmd.c
changeset 4242 5738cbc9b2bd
parent 4175 b79ec8a94d4e
child 4244 d40c73c55357
equal deleted inserted replaced
4241:8b399a9e42c4 4242:5738cbc9b2bd
   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;