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 | 1299f0b00de584890236ccfd3f90e7c7146fc35d (patch) | |
tree | 271fa444ba8846d3bac9d6b8013316cab1ca80d5 | |
parent | 8056a793c0a42ff9aa2f7dba9fa7ee8c22b3671f (diff) | |
download | openttd-1299f0b00de584890236ccfd3f90e7c7146fc35d.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; |