forked from mirror/OpenTTD
(svn r6179) - Silence the old npf warnings
This commit is contained in:
2
npf.c
2
npf.c
@@ -780,7 +780,7 @@ NPFFoundTargetData NPFRouteToDepotTrialError(TileIndex tile, Trackdir trackdir,
|
|||||||
*/
|
*/
|
||||||
Queue depots;
|
Queue depots;
|
||||||
int r;
|
int r;
|
||||||
NPFFoundTargetData best_result;
|
NPFFoundTargetData best_result = {(uint)-1, (uint)-1, INVALID_TRACKDIR, {INVALID_TILE, 0, {0, 0}}};
|
||||||
NPFFoundTargetData result;
|
NPFFoundTargetData result;
|
||||||
NPFFindStationOrTileData target;
|
NPFFindStationOrTileData target;
|
||||||
AyStarNode start;
|
AyStarNode start;
|
||||||
|
Reference in New Issue
Block a user