equal
deleted
inserted
replaced
621 v->value = value; |
621 v->value = value; |
622 // v->day_counter = 0; |
622 // v->day_counter = 0; |
623 |
623 |
624 v->u.rail.railtype = GetEngine(engine)->railtype; |
624 v->u.rail.railtype = GetEngine(engine)->railtype; |
625 |
625 |
626 v->build_year = _cur_year - BASE_YEAR; |
626 v->build_year = _cur_year; |
627 v->type = VEH_Train; |
627 v->type = VEH_Train; |
628 v->cur_image = 0xAC2; |
628 v->cur_image = 0xAC2; |
629 v->random_bits = VehicleRandomBits(); |
629 v->random_bits = VehicleRandomBits(); |
630 |
630 |
631 AddArticulatedParts(vl); |
631 AddArticulatedParts(vl); |
781 v->u.rail.railtype = e->railtype; |
781 v->u.rail.railtype = e->railtype; |
782 _new_vehicle_id = v->index; |
782 _new_vehicle_id = v->index; |
783 |
783 |
784 v->service_interval = _patches.servint_trains; |
784 v->service_interval = _patches.servint_trains; |
785 v->date_of_last_service = _date; |
785 v->date_of_last_service = _date; |
786 v->build_year = _cur_year - BASE_YEAR; |
786 v->build_year = _cur_year; |
787 v->type = VEH_Train; |
787 v->type = VEH_Train; |
788 v->cur_image = 0xAC2; |
788 v->cur_image = 0xAC2; |
789 v->random_bits = VehicleRandomBits(); |
789 v->random_bits = VehicleRandomBits(); |
790 |
790 |
791 v->subtype = 0; |
791 v->subtype = 0; |