summaryrefslogtreecommitdiff
path: root/pathfind.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-21 19:39:21 +0000
committertruelight <truelight@openttd.org>2004-12-21 19:39:21 +0000
commit91d1805fb19a8e0c5c35ee6c1988664fb1731213 (patch)
treec066a6c974b3c6d31163d6fe19175ff93c121a54 /pathfind.c
parentaf4f4069ee48a235d1eaf8e52342dc45ce4f0bc2 (diff)
downloadopenttd-91d1805fb19a8e0c5c35ee6c1988664fb1731213.tar.xz
(svn r1209) -Fix: fix compiler warning (sorry)
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];