File diff r14159:6cb75763eb03 → r14160:24d7cfd54d1c
src/station_gui.cpp
Show inline comments
 
@@ -1208,13 +1208,13 @@ static const T *FindStationsNearby(TileA
 
	TileArea ctx = ta;
 

	
 
	_stations_nearby_list.Clear();
 
	_deleted_stations_nearby.Clear();
 

	
 
	/* Check the inside, to return, if we sit on another station */
 
	TILE_LOOP(t, ta.w, ta.h, ta.tile) {
 
	TILE_AREA_LOOP(t, ta) {
 
		if (t < MapSize() && IsTileType(t, MP_STATION) && T::IsValidID(GetStationIndex(t))) return T::GetByTile(t);
 
	}
 

	
 
	/* Look for deleted stations */
 
	const BaseStation *st;
 
	FOR_ALL_BASE_STATIONS(st) {