diff options
author | Darkvater <Darkvater@openttd.org> | 2006-09-05 23:21:41 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-09-05 23:21:41 +0000 |
commit | 7e4d0f112edbe2acb8ceebdf3161fa7c90cd66f9 (patch) | |
tree | f2f14fca9ac095b0bf6b46615035b8c207e3ce66 /station_map.h | |
parent | a53c92464f2d87bcb9e8b31a1f68d5e26e29aded (diff) | |
download | openttd-7e4d0f112edbe2acb8ceebdf3161fa7c90cd66f9.tar.xz |
(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir().
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 ad33a5efb..912cfc572 100644 --- a/station_map.h +++ b/station_map.h @@ -293,7 +293,7 @@ static inline void MakeBuoy(TileIndex t, StationID sid) static inline void MakeDock(TileIndex t, Owner o, StationID sid, DiagDirection d) { MakeStation(t, o, sid, GFX_DOCK_BASE + d); - MakeStation(t + TileOffsByDir(d), o, sid, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d)); + MakeStation(t + TileOffsByDiagDir(d), o, sid, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d)); } static inline void MakeOilrig(TileIndex t, StationID sid) |