From 5799a7a57c16e9c605fd0e762b648b2fafd69ce5 Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 25 Jun 2009 16:07:23 +0000 Subject: [PATCH] (svn r16656) -Fix (r16655): strange things happen --- src/station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station.cpp b/src/station.cpp index c4ed84200d..16d72e53e6 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