src/ship_cmd.cpp
changeset 8258 9fa31acb07bc
parent 8254 1496654ca5e7
child 8264 b1e85998c7d3
equal deleted inserted replaced
8257:3151fdbc73f9 8258:9fa31acb07bc
   862 		v->reliability = e->reliability;
   862 		v->reliability = e->reliability;
   863 		v->reliability_spd_dec = e->reliability_spd_dec;
   863 		v->reliability_spd_dec = e->reliability_spd_dec;
   864 		v->max_age = e->lifelength * 366;
   864 		v->max_age = e->lifelength * 366;
   865 		_new_vehicle_id = v->index;
   865 		_new_vehicle_id = v->index;
   866 
   866 
   867 		v->string_id = STR_SV_SHIP_NAME;
   867 		v->name = NULL;
   868 		v->u.ship.state = TRACK_BIT_DEPOT;
   868 		v->u.ship.state = TRACK_BIT_DEPOT;
   869 
   869 
   870 		v->service_interval = _patches.servint_ships;
   870 		v->service_interval = _patches.servint_ships;
   871 		v->date_of_last_service = _date;
   871 		v->date_of_last_service = _date;
   872 		v->build_year = _cur_year;
   872 		v->build_year = _cur_year;