From a31e86c7781547a1d527226099d0e9d45ee2a903 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 2 Aug 2008 22:53:21 +0000 Subject: (svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc) --- src/vehicle_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vehicle_gui.cpp') 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: { -- cgit v1.2.3-54-g00ecf