diff options
Diffstat (limited to 'yapf/yapf_destrail.hpp')
-rw-r--r-- | yapf/yapf_destrail.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yapf/yapf_destrail.hpp b/yapf/yapf_destrail.hpp index 9d58d7013..f22166840 100644 --- a/yapf/yapf_destrail.hpp +++ b/yapf/yapf_destrail.hpp @@ -85,8 +85,8 @@ public: void SetDestination(Vehicle* v) { if (v->current_order.type == OT_GOTO_STATION) { - m_destTile = CalcStationCenterTile(v->current_order.dest.station); - m_dest_station_id = v->current_order.dest.station; + m_destTile = CalcStationCenterTile(v->current_order.dest); + m_dest_station_id = v->current_order.dest; m_destTrackdirs = INVALID_TRACKDIR_BIT; } else { m_destTile = v->dest_tile; |