From: ian Date: Mon, 14 Jul 2008 20:39:34 +0000 (+0000) Subject: treat low startup states as power off X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=8f651117e7c87467322e2b68b15b6ccab382b665;p=trains.git treat low startup states as power off --- diff --git a/hostside/gui-plan.c b/hostside/gui-plan.c index 79fda7b..088f57e 100644 --- a/hostside/gui-plan.c +++ b/hostside/gui-plan.c @@ -687,6 +687,9 @@ static void si_stastate(ParseState *ps) { state[s].owner= 0; } } + if (stastate <= Sta_Off) { + poweron= 0; + } mx_redraw_all(); }