summaryrefslogtreecommitdiff
path: root/src/rail.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-26 16:51:10 +0000
committerrubidium <rubidium@openttd.org>2007-07-26 16:51:10 +0000
commit903a0a08c2ca853d8eeb3aa00caf7afa7faf53de (patch)
tree4b6a986aa841f12efff161e45aacd1a023cff71d /src/rail.h
parenta67957866a9006e05158b9735b228bd5b93390a0 (diff)
downloadopenttd-903a0a08c2ca853d8eeb3aa00caf7afa7faf53de.tar.xz
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
Diffstat (limited to 'src/rail.h')
-rw-r--r--src/rail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail.h b/src/rail.h
index 37944cb3d..0ffefdb8e 100644
--- a/src/rail.h
+++ b/src/rail.h
@@ -567,7 +567,7 @@ void DrawDefaultWaypointSprite(int x, int y, RailType railtype);
*/
void DrawCatenary(const TileInfo *ti);
-uint GetRailFoundation(Slope tileh, TrackBits bits);
+Foundation GetRailFoundation(Slope tileh, TrackBits bits);
int32 SettingsDisableElrail(int32 p1); ///< _patches.disable_elrail callback