From 10d54ac604b2d4d761877de1ceda07ceb3aa96bf Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 5 Sep 2004 16:15:22 +0000 Subject: (svn r160) -Codechange: made GetTileTrackStatus more readable (blathijs) -Fix: some minor fixes around GetTileTrackStatus (blathijs) --- town_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'town_cmd.c') diff --git a/town_cmd.c b/town_cmd.c index 719ba2b8b..6ed0b6151 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -319,7 +319,7 @@ static void GetTileDesc_Town(uint tile, TileDesc *td) td->owner = OWNER_TOWN; } -static uint32 GetTileTrackStatus_Town(uint tile, int mode) +static uint32 GetTileTrackStatus_Town(uint tile, TransportType mode) { /* not used */ return 0; @@ -540,7 +540,7 @@ static void GrowTownInTile(uint *tile_ptr, uint mask, int block, Town *t1) // Reached a tunnel? Then continue at the other side of it. if (IS_TILETYPE(tile, MP_TUNNELBRIDGE) && (_map5[tile]&~3)==4) { - FindLengthOfTunnelResult flotr = FindLengthOfTunnel(tile, _map5[tile]&3, 2); + FindLengthOfTunnelResult flotr = FindLengthOfTunnel(tile, _map5[tile]&3); *tile_ptr = flotr.tile; return; } -- cgit v1.2.3-54-g00ecf