Mercurial > hg > openttd
changeset 3473:d7511478b000 draft
(svn r4318) CodeChange : Remove last direct map access on ai/default/default.c
author | belugas <belugas@openttd.org> |
---|---|
date | Sat, 08 Apr 2006 01:07:32 +0000 |
parents | 34f02a91f219 |
children | ca61aedfd525 |
files | ai/default/default.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ai/default/default.c +++ b/ai/default/default.c @@ -3394,8 +3394,8 @@ !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