summaryrefslogtreecommitdiff
path: root/rail.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-12 08:28:03 +0000
committercelestar <celestar@openttd.org>2006-04-12 08:28:03 +0000
commite79c36bf8c91fb53d092b7d4b94b5ed591b44710 (patch)
treee8c2d2e726c1585d8c76948b78e492631a8be2c6 /rail.h
parenta8d4285ec28571394a38f7f17fdaa812fa505c8d (diff)
downloadopenttd-e79c36bf8c91fb53d092b7d4b94b5ed591b44710.tar.xz
(svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir
Diffstat (limited to 'rail.h')
-rw-r--r--rail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail.h b/rail.h
index 9ea050f04..36b9f00e9 100644
--- a/rail.h
+++ b/rail.h
@@ -414,7 +414,7 @@ static inline bool HasSignalOnTrackdir(TileIndex tile, Trackdir trackdir)
* Along meaning if you are currently driving on the given trackdir, this is
* the signal that is facing us (for which we stop when it's red).
*/
-static inline SignalState GetSignalState(TileIndex tile, Trackdir trackdir)
+static inline SignalState GetSignalStateByTrackdir(TileIndex tile, Trackdir trackdir)
{
assert(IsValidTrackdir(trackdir));
assert(HasSignalOnTrack(tile, TrackdirToTrack(trackdir)));