From 903a0a08c2ca853d8eeb3aa00caf7afa7faf53de Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 26 Jul 2007 16:51:10 +0000 Subject: (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. --- src/rail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rail.h') 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 -- cgit v1.2.3-54-g00ecf