summaryrefslogtreecommitdiff
path: root/town_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index 5c40cbf11..dcd45050f 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -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?