diff options
author | rubidium <rubidium@openttd.org> | 2008-01-09 21:05:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-09 21:05:03 +0000 |
commit | 2d2e1e386315db0c83f508c19387e9f2e0c9cee1 (patch) | |
tree | 6b9fc11a0135e1ccdb74151dd8962e4fd5264843 /src/pathfind.cpp | |
parent | a5101fb403bc7220884236426c38bdafc2cd17cf (diff) | |
download | openttd-2d2e1e386315db0c83f508c19387e9f2e0c9cee1.tar.xz |
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r-- | src/pathfind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp index 616f4e0eb..eafee883a 100644 --- a/src/pathfind.cpp +++ b/src/pathfind.cpp @@ -442,7 +442,7 @@ struct NewTrackPathFinder { TileIndex dest; TransportType tracktype; - RailTypeMask railtypes; + RailTypes railtypes; uint maxlength; HashLink *new_link; @@ -938,7 +938,7 @@ start_at: /** new pathfinder for trains. better and faster. */ -void NewTrainPathfind(TileIndex tile, TileIndex dest, RailTypeMask railtypes, DiagDirection direction, NTPEnumProc* enum_proc, void* data) +void NewTrainPathfind(TileIndex tile, TileIndex dest, RailTypes railtypes, DiagDirection direction, NTPEnumProc* enum_proc, void* data) { NewTrackPathFinder tpf; |