(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.
This commit is contained in:
@@ -429,6 +429,7 @@ TileIndex Order::GetLocation(const Vehicle *v) const
|
|||||||
switch (this->GetType()) {
|
switch (this->GetType()) {
|
||||||
case OT_GOTO_WAYPOINT:
|
case OT_GOTO_WAYPOINT:
|
||||||
case OT_GOTO_STATION:
|
case OT_GOTO_STATION:
|
||||||
|
case OT_AUTOMATIC:
|
||||||
return BaseStation::Get(this->GetDestination())->xy;
|
return BaseStation::Get(this->GetDestination())->xy;
|
||||||
|
|
||||||
case OT_GOTO_DEPOT:
|
case OT_GOTO_DEPOT:
|
||||||
|
Reference in New Issue
Block a user