From 3d629b0dea9943d6bfb3e240ec4af943b79254f4 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 1 Oct 2017 16:41:36 +0100 Subject: [PATCH] Fix timetabled full-load order warning being shown for non station orders --- src/timetable_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index 112b552d84..3f0398332a 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -577,7 +577,7 @@ struct TimetableWindow : Window { } } - if (!have_bad_full_load && (assume_timetabled || order->IsWaitTimetabled())) { + if (order->IsType(OT_GOTO_STATION) && !have_bad_full_load && (assume_timetabled || order->IsWaitTimetabled())) { if (order->GetLoadType() & OLFB_FULL_LOAD) have_bad_full_load = true; if (order->GetLoadType() == OLFB_CARGO_TYPE_LOAD) { for (CargoID c = 0; c < NUM_CARGO; c++) {