summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-11-14 13:07:07 +0000
committerdarkvater <darkvater@openttd.org>2004-11-14 13:07:07 +0000
commit397cc50f61768c73dd4a1ddea03fd5e763d85b50 (patch)
tree19e28ad2c07c2774c4b799f431c2acffe63d655a /train_gui.c
parent8946e92468db588a1a0d39da2b9a53523e091d10 (diff)
downloadopenttd-397cc50f61768c73dd4a1ddea03fd5e763d85b50.tar.xz
(svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky).
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;
}