From e7a501100a242640d25c21627ec67e75f9645043 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 29 May 2008 15:13:28 +0000 Subject: (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. --- src/autoslope.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/autoslope.h') diff --git a/src/autoslope.h b/src/autoslope.h index 7b5e293bb..d738f941c 100644 --- a/src/autoslope.h +++ b/src/autoslope.h @@ -38,7 +38,7 @@ static inline bool AutoslopeCheckForEntranceEdge(TileIndex tile, uint z_new, Slo */ static inline bool AutoslopeEnabled() { - return (_settings.construction.autoslope && + return (_settings_game.construction.autoslope && ((IsValidPlayer(_current_player) && !_is_old_ai_player) || (_current_player == OWNER_NONE && _game_mode == GM_EDITOR))); } -- cgit v1.2.3-70-g09d2