(svn r16656) -Fix (r16655): strange things happen

This commit is contained in:
smatz 2009-06-25 16:07:23 +00:00
parent c113303593
commit 5799a7a57c

View File

@ -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