(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
This commit is contained in:
@@ -38,7 +38,7 @@ static inline bool AutoslopeCheckForEntranceEdge(TileIndex tile, uint z_new, Slo
|
||||
*/
|
||||
static inline bool AutoslopeEnabled()
|
||||
{
|
||||
return (_patches.autoslope &&
|
||||
return (_settings.construction.autoslope &&
|
||||
((IsValidPlayer(_current_player) && !_is_old_ai_player) ||
|
||||
(_current_player == OWNER_NONE && _game_mode == GM_EDITOR)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user