diff options
author | matthijs <matthijs@openttd.org> | 2005-09-09 23:14:38 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2005-09-09 23:14:38 +0000 |
commit | cd54bf48d1b78ad51a5bf91d96e41d6b8cd8513b (patch) | |
tree | 2f3cffa2f8a0c0f0c06f6a3666f430e20d0c6957 /win32.c | |
parent | a744b15907b55c56569f9028ada63d5b04ef6229 (diff) | |
download | openttd-cd54bf48d1b78ad51a5bf91d96e41d6b8cd8513b.tar.xz |
(svn r2929) * Move DistanceTrack from map.c to npf.c and rename to NPFDistanceTrack.
* Make NPFDistanceTrack return the distance multiplied by NPF_TILE_LENGTH to prevent rounding
This should make ship and train pathfinding more accurate and faster.
* Update IsEndOfLine to prevent trains from trying to go off a slope onto a tunnel entrance.
Diffstat (limited to 'win32.c')
0 files changed, 0 insertions, 0 deletions