summaryrefslogtreecommitdiff
path: root/pathfind.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathfind.c')
-rw-r--r--pathfind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathfind.c b/pathfind.c
index c3a300cbc..fc71369e0 100644
--- a/pathfind.c
+++ b/pathfind.c
@@ -128,7 +128,7 @@ static void TPFMode2(TrackPathFinder *tpf, uint tile, int direction)
uint bits;
int i;
RememberData rd;
- int owner;
+ int owner = -1;
if (tpf->tracktype == TRANSPORT_RAIL) {
owner = _map_owner[tile];