diff options
author | rubidium <rubidium@openttd.org> | 2008-05-29 15:13:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-29 15:13:28 +0000 |
commit | e7a501100a242640d25c21627ec67e75f9645043 (patch) | |
tree | 59059f0a1aba0794fa770e8c9a19312e4ce300af /src/station.cpp | |
parent | 48e20d801221888a1b8b6a4ab8288becad4b954b (diff) | |
download | openttd-e7a501100a242640d25c21627ec67e75f9645043.tar.xz |
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp index 0613faccb..4a7ac92f0 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -285,7 +285,7 @@ bool StationRect::BeforeAddTile(TileIndex tile, StationRectMode mode) /* 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 > _settings.station.station_spread || h > _settings.station.station_spread)) { + if (mode != ADD_FORCE && (w > _settings_game.station.station_spread || h > _settings_game.station.station_spread)) { assert(mode != ADD_TRY); _error_message = STR_306C_STATION_TOO_SPREAD_OUT; return false; |