summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 914eb7e2d..d7f7d70ca 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -119,12 +119,16 @@ static void DrawTimetableWindow(Window *w)
break;
case OT_GOTO_STATION:
- SetDParam(0, (order->GetNonStopType() != ONSF_STOP_EVERYWHERE) ? STR_880A_GO_NON_STOP_TO : STR_8806_GO_TO);
- SetDParam(1, order->GetDestination());
+ SetDParam(0, STR_GO_TO_STATION);
+ SetDParam(1, STR_ORDER_GO_TO + order->GetNonStopType());
+ SetDParam(2, order->GetDestination());
+ SetDParam(3, STR_EMPTY);
if (order->wait_time > 0) {
- SetDParam(2, STR_TIMETABLE_STAY_FOR);
- SetTimetableParams(3, 4, order->wait_time);
+ SetDParam(4, STR_TIMETABLE_STAY_FOR);
+ SetTimetableParams(5, 6, order->wait_time);
+ } else {
+ SetDParam(4, STR_EMPTY);
}
break;