(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.
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user