(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
This commit is contained in:
@@ -739,11 +739,7 @@ CommandCost CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint
|
||||
|
||||
/* Prohibit building if
|
||||
* 1) The tile is "steep" (i.e. stretches two height levels)
|
||||
* -OR-
|
||||
* 2) The tile is non-flat if
|
||||
* a) the company building is an "old-school" AI
|
||||
* -OR-
|
||||
* b) the build_on_slopes switch is disabled
|
||||
* 2) The tile is non-flat and the build_on_slopes switch is disabled
|
||||
*/
|
||||
if (IsSteepSlope(tileh) ||
|
||||
((!_settings_game.construction.build_on_slopes) && tileh != SLOPE_FLAT)) {
|
||||
|
Reference in New Issue
Block a user