changeset 2564 | 371e0fa97e1e |
parent 2561 | c78c3d248897 |
child 2570 | c7c4d8438516 |
--- a/train_cmd.c Sat Oct 29 20:58:26 2005 +0000 +++ b/train_cmd.c Sat Oct 29 21:54:28 2005 +0000 @@ -471,6 +471,7 @@ v->cur_image = 0xAC2; _new_wagon_id = v->index; + _new_vehicle_id = v->index; VehiclePositionChanged(v); TrainConsistChanged(GetFirstVehicleInChain(v)); @@ -632,6 +633,7 @@ v->string_id = STR_SV_TRAIN_NAME; v->u.rail.railtype = e->railtype; _new_train_id = v->index; + _new_vehicle_id = v->index; v->service_interval = _patches.servint_trains; v->date_of_last_service = _date;