src/ship_cmd.cpp
changeset 5993 956d341d930e
parent 5991 ec2eebfe86de
child 5994 a067afdb59b1
equal deleted inserted replaced
5992:ab950cd7e7f1 5993:956d341d930e
   903 		v->reliability_spd_dec = e->reliability_spd_dec;
   903 		v->reliability_spd_dec = e->reliability_spd_dec;
   904 		v->max_age = e->lifelength * 366;
   904 		v->max_age = e->lifelength * 366;
   905 		_new_vehicle_id = v->index;
   905 		_new_vehicle_id = v->index;
   906 
   906 
   907 		v->string_id = STR_SV_SHIP_NAME;
   907 		v->string_id = STR_SV_SHIP_NAME;
   908 		v->u.ship.state = TRACK_BIT_SPECIAL;
   908 		v->u.ship.state = TRACK_BIT_DEPOT;
   909 
   909 
   910 		v->service_interval = _patches.servint_ships;
   910 		v->service_interval = _patches.servint_ships;
   911 		v->date_of_last_service = _date;
   911 		v->date_of_last_service = _date;
   912 		v->build_year = _cur_year;
   912 		v->build_year = _cur_year;
   913 		v->cur_image = 0x0E5E;
   913 		v->cur_image = 0x0E5E;