author | peter1138 |
Mon, 01 Jan 2007 14:58:27 +0000 | |
changeset 5456 | 6ae660a4f3a5 |
parent 5455 | b3ceb5649239 |
child 5457 | a0591c7d9db8 |
pathfind.c | file | annotate | diff | comparison | revisions |
--- a/pathfind.c Mon Jan 01 14:53:57 2007 +0000 +++ b/pathfind.c Mon Jan 01 14:58:27 2007 +0000 @@ -341,8 +341,8 @@ if (tpf->hasbit_13) return; - tile = tile_org; direction = ReverseDiagDir(direction); + tile += TileOffsByDiagDir(direction); bits = GetTileTrackStatus(tile, tpf->tracktype); bits |= (bits >> 8);