mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 00:49:11 +00:00
(svn r16656) -Fix (r16655): strange things happen
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user