(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.

This commit is contained in:
frosch 2011-01-09 13:11:50 +00:00
parent c8a4d122c5
commit 716f4e924e

View File

@ -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: