summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-21 17:51:01 +0000
committercelestar <celestar@openttd.org>2006-04-21 17:51:01 +0000
commitcaea7f845c10fa93ef4373d2da43398b1f27fe9c (patch)
tree3fa3cf8400cd816065213d012eed0bc712edc3a6 /ai
parenta7b2ec60b3a1822ebf2ea4ee1ea136137cc68012 (diff)
downloadopenttd-caea7f845c10fa93ef4373d2da43398b1f27fe9c.tar.xz
(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)
Diffstat (limited to 'ai')
-rw-r--r--ai/default/default.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ai/default/default.c b/ai/default/default.c
index d286fbc31..e187b360e 100644
--- a/ai/default/default.c
+++ b/ai/default/default.c
@@ -3388,17 +3388,6 @@ static void AiStateBuildDefaultAirportBlocks(Player *p)
// check if the aircraft stuff can be built there.
rule = AiFindBestDefaultAirportBlock(aib->use_tile, aib->cargo, p->ai.build_kind, &cost);
-#if 0
- if (!IsTileType(aib->use_tile, MP_STREET) &&
- !IsTileType(aib->use_tile, MP_RAILWAY) &&
- !IsTileType(aib->use_tile, MP_STATION)
- ) {
-
- SetTileHeight(aib->use_tile, 1);
- MakeCompanyHQ(aib->use_tile, _current_player);
- MarkTileDirtyByTile(aib->use_tile);
- }
-#endif
// SetRedErrorSquare(aib->use_tile);
if (rule == -1) {