summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ai/default/default.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ai/default/default.c b/ai/default/default.c
index f10db36ef..4d12f6248 100644
--- a/ai/default/default.c
+++ b/ai/default/default.c
@@ -3394,8 +3394,8 @@ static void AiStateBuildDefaultAirportBlocks(Player *p)
!IsTileType(aib->use_tile, MP_STATION)
) {
- _m[aib->use_tile].type_height = 0xa1;
- _m[aib->use_tile].m5 = 0x80;
+ SetTileHeight(aib->use_tile, 1);
+ MakeCompanyHQ(aib->use_tile, _current_player);
MarkTileDirtyByTile(aib->use_tile);
}
#endif