summaryrefslogtreecommitdiff
path: root/station_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'station_map.h')
-rw-r--r--station_map.h2
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)