summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-25 16:07:23 +0000
committersmatz <smatz@openttd.org>2009-06-25 16:07:23 +0000
commit6915643a99e5b8ee6fe98016791a1dc4f58291db (patch)
tree1d9f90cd03b9f868bc28c5484e9791dbd541de88 /src
parent38477f2b36b6d3ce3123eb379dbbdc29fb0f5251 (diff)
downloadopenttd-6915643a99e5b8ee6fe98016791a1dc4f58291db.tar.xz
(svn r16656) -Fix (r16655): strange things happen
Diffstat (limited to 'src')
-rw-r--r--src/station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp
index c4ed84200..16d72e53e 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -188,7 +188,7 @@ void Station::MarkTilesDirty(bool cargo_change) const
bool Station::TileBelongsToRailStation(TileIndex tile) const
{
- return IsRailwayStationTile(tile) && GetStationIndex(tile) = this->index;
+ return IsRailwayStationTile(tile) && GetStationIndex(tile) == this->index;
}
/** Obtain the length of a platform