summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--station_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_map.h b/station_map.h
index 0fb8c50b0..768cabc19 100644
--- a/station_map.h
+++ b/station_map.h
@@ -148,7 +148,7 @@ static inline Track GetRailStationTrack(TileIndex t)
static inline DiagDirection GetDockDirection(TileIndex t)
{
assert(IsTileType(t, MP_STATION));
- assert(_m[t].m5 > DOCK_BASE_WATER_PART);
+ assert(_m[t].m5 < DOCK_BASE_WATER_PART);
return (DiagDirection)(_m[t].m5 - DOCK_BASE);
}