From fbfcbe06ec90777a514c42fd928cce2721718891 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 16 Dec 2009 16:23:44 +0000 Subject: (svn r18515) -Change: make it visible when you're to pass the next signal on danger and possible to cancel it -Fix [FS#2891]: when you pass a signal at danger, in a PBS controlled area, don't try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually. --- src/vehicle_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vehicle_gui.cpp') diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index a9401784f..d4cd7212e 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1959,6 +1959,7 @@ public: this->SetWidgetDisabledState(VVW_WIDGET_CLONE_VEH, !is_localcompany); if (v->type == VEH_TRAIN) { + this->SetWidgetLoweredState(VVW_WIDGET_FORCE_PROCEED, Train::From(v)->force_proceed == 2); this->SetWidgetDisabledState(VVW_WIDGET_FORCE_PROCEED, !is_localcompany); this->SetWidgetDisabledState(VVW_WIDGET_TURN_AROUND, !is_localcompany); } -- cgit v1.2.3-54-g00ecf