Fix train speed not being set to 0 for timetabled wait at waypoint orders
This commit is contained in:
@@ -4362,6 +4362,7 @@ static void TrainEnterStation(Train *v, StationID station)
|
|||||||
SetWindowDirty(WC_VEHICLE_VIEW, v->index);
|
SetWindowDirty(WC_VEHICLE_VIEW, v->index);
|
||||||
v->current_order.MakeWaiting();
|
v->current_order.MakeWaiting();
|
||||||
v->current_order.SetNonStopType(ONSF_NO_STOP_AT_ANY_STATION);
|
v->current_order.SetNonStopType(ONSF_NO_STOP_AT_ANY_STATION);
|
||||||
|
v->cur_speed = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user