diff options
author | rubidium <rubidium@openttd.org> | 2008-10-02 22:48:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-10-02 22:48:52 +0000 |
commit | b727f93bbcbd4aec82ecd8a99f3da8de34ad4744 (patch) | |
tree | fc23cf6657953ad9661b51ea650502b0d1df322c | |
parent | bdd756b58c208b3dd004c5dfde5ce0ae7fd58c82 (diff) | |
download | openttd-b727f93bbcbd4aec82ecd8a99f3da8de34ad4744.tar.xz |
(svn r14434) -Fix (r14432): compile warning.
-rw-r--r-- | src/rail_cmd.cpp | 4 |
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; |