diff options
author | tron <tron@openttd.org> | 2007-02-25 11:36:19 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-25 11:36:19 +0000 |
commit | c0ec367e9ba15929dee027670702e93eac02fab2 (patch) | |
tree | 7356de7ae644522ac46c52158203c96f0a69cb23 /src/npf.cpp | |
parent | 05c6e8f883e06059daa9ea777f8181ff0f2ab8ef (diff) | |
download | openttd-c0ec367e9ba15929dee027670702e93eac02fab2.tar.xz |
(svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
Diffstat (limited to 'src/npf.cpp')
-rw-r--r-- | src/npf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/npf.cpp b/src/npf.cpp index f8ac93bb5..50b5b4bb9 100644 --- a/src/npf.cpp +++ b/src/npf.cpp @@ -594,7 +594,7 @@ static void NPFFollowTrack(AyStar* aystar, OpenListNode* current) /* check correct rail type (mono, maglev, etc) */ if (type == TRANSPORT_RAIL) { - RailType dst_type = GetTileRailType(dst_tile, TrackdirToTrack(src_trackdir)); + RailType dst_type = GetTileRailType(dst_tile); if (!HASBIT(aystar->user_data[NPF_RAILTYPES], dst_type)) return; } |