summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-10-02 22:48:52 +0000
committerrubidium <rubidium@openttd.org>2008-10-02 22:48:52 +0000
commitb727f93bbcbd4aec82ecd8a99f3da8de34ad4744 (patch)
treefc23cf6657953ad9661b51ea650502b0d1df322c
parentbdd756b58c208b3dd004c5dfde5ce0ae7fd58c82 (diff)
downloadopenttd-b727f93bbcbd4aec82ecd8a99f3da8de34ad4744.tar.xz
(svn r14434) -Fix (r14432): compile warning.
-rw-r--r--src/rail_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index ee0e09664..bc1066c91 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -2399,8 +2399,8 @@ static void GetTileDesc_Track(TileIndex tile, TileDesc *td)
}
};
- uint primary_signal;
- uint secondary_signal;
+ SignalType primary_signal;
+ SignalType secondary_signal;
if (HasSignalOnTrack(tile, TRACK_UPPER)) {
primary_signal = GetSignalType(tile, TRACK_UPPER);
secondary_signal = HasSignalOnTrack(tile, TRACK_LOWER) ? GetSignalType(tile, TRACK_LOWER) : primary_signal;