diff options
author | glx <glx@openttd.org> | 2006-08-27 22:08:40 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-08-27 22:08:40 +0000 |
commit | 89581cb5585d08b0aa0a86dd106adcff491a0710 (patch) | |
tree | 271fa444ba8846d3bac9d6b8013316cab1ca80d5 | |
parent | 61659b67d5344eb9cf315f72774b7cc015602770 (diff) | |
download | openttd-89581cb5585d08b0aa0a86dd106adcff491a0710.tar.xz |
(svn r6179) - Silence the old npf warnings
-rw-r--r-- | npf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -780,7 +780,7 @@ NPFFoundTargetData NPFRouteToDepotTrialError(TileIndex tile, Trackdir trackdir, */ Queue depots; int r; - NPFFoundTargetData best_result; + NPFFoundTargetData best_result = {(uint)-1, (uint)-1, INVALID_TRACKDIR, {INVALID_TILE, 0, {0, 0}}}; NPFFoundTargetData result; NPFFindStationOrTileData target; AyStarNode start; |