mirror of https://github.com/OpenTTD/OpenTTD
(svn r16656) -Fix (r16655): strange things happen
parent
38477f2b36
commit
6915643a99
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue