diff options
author | rubidium <rubidium@openttd.org> | 2008-11-07 18:02:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-11-07 18:02:46 +0000 |
commit | 13ee151a69b8f11f75d4013c06e2eba205b48f4d (patch) | |
tree | c9c58785e56b560862505822c3e0c529b45b6956 /src/rail_map.h | |
parent | c7f3935506b584415ea249ab01f4d2c8f70c08cc (diff) | |
download | openttd-13ee151a69b8f11f75d4013c06e2eba205b48f4d.tar.xz |
(svn r14567) -Revert (part of 14566): don't commit testing stuff...
Diffstat (limited to 'src/rail_map.h')
-rw-r--r-- | src/rail_map.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rail_map.h b/src/rail_map.h index cf4e6e861..a6077cf0d 100644 --- a/src/rail_map.h +++ b/src/rail_map.h @@ -598,15 +598,6 @@ static inline bool IsSnowRailGround(TileIndex t) return GetRailGroundType(t) == RAIL_GROUND_ICE_DESERT; } -static inline void UpdateStat(TileIndex t, bool on_track) -{ - _me[t].m7 = _me[t].m7 << 1 | !!on_track; -} - -static inline byte GetStat(TileIndex t) -{ - return _me[t].m7; -} static inline void MakeRailNormal(TileIndex t, Owner o, TrackBits b, RailType r) { |