From 6915643a99e5b8ee6fe98016791a1dc4f58291db Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 25 Jun 2009 16:07:23 +0000 Subject: (svn r16656) -Fix (r16655): strange things happen --- src/station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2