mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-01 09:29:32 +01:00
(svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx)
This commit is contained in:
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
Block a user