summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/signal.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 2d16e9a73..e8a6690fc 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -294,6 +294,7 @@ static SigFlags ExploreSegment(Owner owner)
}
}
+ assert(IsValidDiagDirection(enterdir));
TrackBits tracks = GetTrackBits(tile); // trackbits of tile
TrackBits tracks_masked = (TrackBits)(tracks & _enterdir_to_trackbits[enterdir]); // only incidating trackbits