mirror of https://github.com/OpenTTD/OpenTTD
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
parent
ba5b663e1f
commit
d0de381c30
|
@ -61,7 +61,7 @@ public:
|
||||||
pf.SetOrigin(src_tile, trackdirs);
|
pf.SetOrigin(src_tile, trackdirs);
|
||||||
pf.SetDestination(v->dest_tile, dest_trackdirs);
|
pf.SetDestination(v->dest_tile, dest_trackdirs);
|
||||||
// find best path
|
// find best path
|
||||||
bool bFound = pf.FindPath(v);
|
pf.FindPath(v);
|
||||||
|
|
||||||
Trackdir next_trackdir = INVALID_TRACKDIR; // this would mean "path not found"
|
Trackdir next_trackdir = INVALID_TRACKDIR; // this would mean "path not found"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue