From f7c44acdebeb6a9703633c92082110214bae5caf Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 15 Jul 2008 00:27:41 +0000 Subject: [PATCH] allow stastate to override picion on even if they come in different order (eg due to replay) --- hostside/gui-plan.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hostside/gui-plan.c b/hostside/gui-plan.c index 088f57e..940d009 100644 --- a/hostside/gui-plan.c +++ b/hostside/gui-plan.c @@ -517,7 +517,7 @@ static void mx_redraw_feat(int s, int f) { SegState *ss= &state[s]; SegmovfeatState *fs= &ss->mfs[f]; fs->flags= ss->flags; - fs->flags.on= poweron; + fs->flags.on= stastate > Sta_Off && poweron; if (stastate==Sta_Resolving) fs->flags.trainown= ss->flags.resolution_problem ? 2 : 0; redraw_mark(fs); @@ -687,9 +687,6 @@ static void si_stastate(ParseState *ps) { state[s].owner= 0; } } - if (stastate <= Sta_Off) { - poweron= 0; - } mx_redraw_all(); } -- 2.30.2