(svn r8899) -Fix

Remove the unused second parameter from GetTileRailType()
This commit is contained in:
tron
2007-02-25 11:36:19 +00:00
parent 1ce43c1a37
commit 3ce4baa9fc
6 changed files with 8 additions and 12 deletions

View File

@@ -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;
}