diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:34 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:19:34 +0200 |
| commit | e7d20cf352688bf717a01f4e6d9e6f497c2bea4c (patch) | |
| tree | cfd2ef9b569f49af985a6f1ec44f2614f63c8e78 /app/bin/tstraigh.c | |
| parent | a14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (diff) | |
New upstream version 5.3.1Beta2upstream/5.3.1Beta2
Diffstat (limited to 'app/bin/tstraigh.c')
| -rw-r--r-- | app/bin/tstraigh.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 ) ) { |
