summaryrefslogtreecommitdiff
path: root/app/bin/tstraigh.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/tstraigh.c')
-rw-r--r--app/bin/tstraigh.c5
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 ) ) {