diff options
Diffstat (limited to 'npf.c')
-rw-r--r-- | npf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -563,6 +563,8 @@ static void NPFFollowTrack(AyStar* aystar, OpenListNode* current) } else { dst_tile = INVALID_TILE; /* Road vehicle heading inwards: dead end */ } + } else { + dst_tile = AddTileIndexDiffCWrap(src_tile, TileIndexDiffCByDir(exitdir)); } } else { /* This a normal tile, a bridge, a tunnel exit, etc. */ |