(svn r1386) Move TileIndexDiff to map.h
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
This commit is contained in:
@@ -655,7 +655,7 @@ build_road_and_exit:
|
||||
do {
|
||||
if (++j == 0)
|
||||
goto build_road_and_exit;
|
||||
tmptile = TILE_MASK(tmptile + _tileoffs_by_dir[i]);
|
||||
tmptile = TILE_MASK(tmptile + TileOffsByDir(i));
|
||||
} while (IS_WATER_TILE(tmptile));
|
||||
|
||||
// no water tiles in between?
|
||||
|
||||
Reference in New Issue
Block a user