# HG changeset patch # User smatz # Date 2009-06-25 16:07:23 # Node ID 9913d4bd463df412aa2b3ad03ad3def01bfc4f9b # Parent 50afdb0ff0ca5b9e8f7276ae8f62695dc7868994 (svn r16656) -Fix (r16655): strange things happen diff --git a/src/station.cpp b/src/station.cpp --- a/src/station.cpp +++ b/src/station.cpp @@ -188,7 +188,7 @@ void Station::MarkTilesDirty(bool cargo_ 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