summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-05 10:19:59 +0000
committercelestar <celestar@openttd.org>2006-04-05 10:19:59 +0000
commit051ef7a793bfd420786b5e89a66db28daabef1e6 (patch)
tree53cc4e2322e029c3d36ff7a14c23aad8ae5a0f69
parentf3e650a7d178eddcd89845506a3e8f91e0094ff1 (diff)
downloadopenttd-051ef7a793bfd420786b5e89a66db28daabef1e6.tar.xz
(svn r4286) -Fix: Typo in 4280
-rw-r--r--rail_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_map.h b/rail_map.h
index 539b31d64..850a56c54 100644
--- a/rail_map.h
+++ b/rail_map.h
@@ -124,7 +124,7 @@ static inline DiagDirection GetRailDepotDirection(TileIndex t)
return (DiagDirection)GB(_m[t].m5, 0, 2);
}
-static inline TrackBits GetRailWaypointTrack(TileIndex t)
+static inline Track GetRailWaypointTrack(TileIndex t)
{
return HASBIT(_m[t].m5, 0) ? TRACK_Y : TRACK_X;
}