summaryrefslogtreecommitdiff
path: root/src/road.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/road.cpp')
-rw-r--r--src/road.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/road.cpp b/src/road.cpp
index a5bd9abd6..4142f0bfa 100644
--- a/src/road.cpp
+++ b/src/road.cpp
@@ -66,7 +66,8 @@ RoadBits CleanUpRoadBits(const TileIndex tile, RoadBits org_rb)
connective = (neighbor_rb & mirrored_rb) || // Neighbor has got the fitting RoadBit
HasExactlyOneBit(neighbor_rb); // Neighbor has got only one Roadbit
- } break;
+ break;
+ }
case MP_RAILWAY:
connective = IsPossibleCrossing(neighbor_tile, DiagDirToAxis(dir));