summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-30 10:53:31 +0000
committercelestar <celestar@openttd.org>2006-03-30 10:53:31 +0000
commit4e1dc63a5eb5184d2767125d7beed670e78e094f (patch)
tree5a4af2a2795a5c3b04037e78c9de656703de99cd
parentbbf4f982a09d7fdcfab9633260dcce4ec8bfae4c (diff)
downloadopenttd-4e1dc63a5eb5184d2767125d7beed670e78e094f.tar.xz
(svn r4168) -Fix: Fixed a typo in previous commit
-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);
}