diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:20:03 +0200 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2025-09-20 19:20:03 +0200 |
| commit | b45d74b60dfb7e23911df6b0523890e42f711267 (patch) | |
| tree | 42bb5764b05bd3bc5bffadb55f4375e6dce8a521 /app/bin/tstraigh.c | |
| parent | 6c1a798b0302034a7fdcaf93b8f014e2e458c2a0 (diff) | |
| parent | 63ec5715054be18ac4db5675e067b41c955d03b9 (diff) | |
Merge branch 'feature/upstream' into develop
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 ) ) { |
