mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 15:30:00 +00:00
(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.
This commit is contained in:
parent
c8a4d122c5
commit
716f4e924e
@ -429,6 +429,7 @@ TileIndex Order::GetLocation(const Vehicle *v) const
|
||||
switch (this->GetType()) {
|
||||
case OT_GOTO_WAYPOINT:
|
||||
case OT_GOTO_STATION:
|
||||
case OT_AUTOMATIC:
|
||||
return BaseStation::Get(this->GetDestination())->xy;
|
||||
|
||||
case OT_GOTO_DEPOT:
|
||||
|
Loading…
Reference in New Issue
Block a user