changeset 17008:66df555d2b2a draft

(svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination.
author frosch <frosch@openttd.org>
date Sun, 09 Jan 2011 13:11:50 +0000
parents bc1b37ab8edc
children eeecf53c75a7
files src/order_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -429,6 +429,7 @@
 	switch (this->GetType()) {
 		case OT_GOTO_WAYPOINT:
 		case OT_GOTO_STATION:
+		case OT_AUTOMATIC:
 			return BaseStation::Get(this->GetDestination())->xy;
 
 		case OT_GOTO_DEPOT: