File diff r10695:3124a970a753 → r10696:8dfe83e30d01
src/autoslope.h
Show inline comments
 
@@ -32,14 +32,14 @@ static inline bool AutoslopeCheckForEntr
 
/**
 
 * 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)));
 
}