From e7d20cf352688bf717a01f4e6d9e6f497c2bea4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Sep 2025 19:19:34 +0200 Subject: New upstream version 5.3.1Beta2 --- app/bin/tstraigh.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/bin/tstraigh.c') diff --git a/app/bin/tstraigh.c b/app/bin/tstraigh.c index 1a3fa51..da4fe81 100644 --- a/app/bin/tstraigh.c +++ b/app/bin/tstraigh.c @@ -389,9 +389,6 @@ EXPORT void DrawStraightTies( return; } - if ( color == wDrawColorBlack ) { - color = tieColor; - } len = FindDistance( p0, p1 ); len -= tieOff0+tieOff1; angle = FindAngle( p0, p1 ); @@ -472,7 +469,7 @@ EXPORT void DrawStraightTrack( td = GetTrkTieData( trk ); DrawStraightTies( d, td, p0, p1, color ); } - if (color == wDrawColorBlack) { + if ( color == wDrawColorBlack ) { color = normalColor; } if ( ! DrawTwoRails( d, 1 ) ) { -- cgit v1.2.3