diff options
author | KUDr <KUDr@openttd.org> | 2006-05-27 16:12:16 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-05-27 16:12:16 +0000 |
commit | 308f27a3de3817cc96ad21b7830b261443206cc0 (patch) | |
tree | e4580db6e03032a997fce1392929b7190dc3b03d /station_map.h | |
parent | 3c2eb4f0865c912340f292ece24cf5664559c1ad (diff) | |
download | openttd-308f27a3de3817cc96ad21b7830b261443206cc0.tar.xz |
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Diffstat (limited to 'station_map.h')
-rw-r--r-- | station_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/station_map.h b/station_map.h index 4b4bb8710..822e79745 100644 --- a/station_map.h +++ b/station_map.h @@ -138,7 +138,7 @@ static inline bool IsRoadStopTile(TileIndex t) static inline DiagDirection GetRoadStopDir(TileIndex t) { assert(IsRoadStopTile(t)); - return (GetStationGfx(t) - GFX_TRUCK_BASE) & 3; + return (DiagDirection)((GetStationGfx(t) - GFX_TRUCK_BASE) & 3); } static inline bool IsOilRig(TileIndex t) |