summaryrefslogtreecommitdiff
path: root/src/autoslope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoslope.h')
-rw-r--r--src/autoslope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autoslope.h b/src/autoslope.h
index eb0478ccc..204536e87 100644
--- a/src/autoslope.h
+++ b/src/autoslope.h
@@ -32,14 +32,14 @@ static inline bool AutoslopeCheckForEntranceEdge(TileIndex tile, uint z_new, Slo
/**
* Tests if autoslope is enabled for _current_company.
*
- * Autoslope is disabled for town/industry construction and old ai companies.
+ * Autoslope is disabled for town/industry construction.
*
* @return true iff autoslope is enabled.
*/
static inline bool AutoslopeEnabled()
{
return (_settings_game.construction.autoslope &&
- ((_current_company < MAX_COMPANIES && !_is_old_ai_company) ||
+ (_current_company < MAX_COMPANIES ||
(_current_company == OWNER_NONE && _game_mode == GM_EDITOR)));
}