File diff r9353:bc33456736f9 → r9354:358e967da2ca
src/station.cpp
Show inline comments
 
@@ -285,7 +285,7 @@ bool StationRect::BeforeAddTile(TileInde
 
		/* check new rect dimensions against preset max */
 
		int w = new_rect.right - new_rect.left + 1;
 
		int h = new_rect.bottom - new_rect.top + 1;
 
		if (mode != ADD_FORCE && (w > _patches.station_spread || h > _patches.station_spread)) {
 
		if (mode != ADD_FORCE && (w > _settings.station.station_spread || h > _settings.station.station_spread)) {
 
			assert(mode != ADD_TRY);
 
			_error_message = STR_306C_STATION_TOO_SPREAD_OUT;
 
			return false;