summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/train_gui.c b/train_gui.c
index 5dafcfbc0..6f0e26d48 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -788,9 +788,9 @@ static void TrainViewWndProc(Window *w, WindowEvent *e)
str = STR_882F_LOADING_UNLOADING;
break;
- case OT_GOTO_CHECKPOINT: {
+ case OT_GOTO_WAYPOINT: {
SET_DPARAM16(0, v->next_order_param);
- str = STR_HEADING_FOR_CHECKPOINT + _patches.vehicle_speed;
+ str = STR_HEADING_FOR_WAYPOINT + _patches.vehicle_speed;
SET_DPARAM16(1, v->u.rail.last_speed * 10 >> 4);
break;
}