Fix train speed not being set to 0 for timetabled wait at waypoint orders

pull/217/head
Jonathan G Rennison 4 years ago
parent efe382b35a
commit 8fc4f13672

@ -4362,6 +4362,7 @@ static void TrainEnterStation(Train *v, StationID station)
SetWindowDirty(WC_VEHICLE_VIEW, v->index);
v->current_order.MakeWaiting();
v->current_order.SetNonStopType(ONSF_NO_STOP_AT_ANY_STATION);
v->cur_speed = 0;
return;
}

Loading…
Cancel
Save