diff options
author | rubidium <rubidium@openttd.org> | 2008-08-02 22:53:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-02 22:53:21 +0000 |
commit | e9c33fb288939a9725cdfd17a11870079c011f08 (patch) | |
tree | be312be15843664ed2dd4f1c437de9f3d4134d73 /src/vehicle_gui.cpp | |
parent | 0dfaa88c1e9789cdfc225774b46f121386c31456 (diff) | |
download | openttd-e9c33fb288939a9725cdfd17a11870079c011f08.tar.xz |
(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc)
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index faf044764..fda939d35 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1895,6 +1895,8 @@ struct VehicleViewWindow : Window { } else { // no train str = STR_8861_STOPPED; } + } else if (v->type == VEH_TRAIN && HasBit(v->u.rail.flags, VRF_TRAIN_STUCK)) { + str = STR_TRAIN_STUCK; } else { // vehicle is in a "normal" state, show current order switch (v->current_order.GetType()) { case OT_GOTO_STATION: { |