summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-12 19:49:23 +0000
committersmatz <smatz@openttd.org>2009-01-12 19:49:23 +0000
commit26e5ccb60dfa5c25c11f70424d92c66596c0ec70 (patch)
tree8c77d129ecd4fb627a8b4d4a72f19c9c608a377e /src/station_cmd.cpp
parent2c89bfbc8167c8808be71d08c918d52d92c5300d (diff)
downloadopenttd-26e5ccb60dfa5c25c11f70424d92c66596c0ec70.tar.xz
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index f7cda6a77..17c1c9aac 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -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)) {