diff options
author | belugas <belugas@openttd.org> | 2006-04-08 01:07:32 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-04-08 01:07:32 +0000 |
commit | 4fdb25e65b9cae42cf75f08e7318f82b7ac991f5 (patch) | |
tree | a16f001cf39e03c98e33b9945b6c4550817507f5 | |
parent | c0cb020c801d4f03f535faa18228eb7194bf6dc1 (diff) | |
download | openttd-4fdb25e65b9cae42cf75f08e7318f82b7ac991f5.tar.xz |
(svn r4318) CodeChange : Remove last direct map access on ai/default/default.c
-rw-r--r-- | ai/default/default.c | 4 |
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 |