From 9d3be49bd3e5b7622d2358f4c1cd6b0d40f803fe Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 20 Feb 2010 21:00:19 +0000 Subject: (svn r19174) -Fix: Buoys are no Stations, only BaseStations. --- src/order_gui.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 73760fec1..d591bb438 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -1001,13 +1001,8 @@ public: switch (ord->GetType()) { case OT_GOTO_WAYPOINT: - if (this->vehicle->type == VEH_TRAIN) { - xy = Waypoint::Get(ord->GetDestination())->xy; - break; - } - /* FALL THROUGH */ case OT_GOTO_STATION: - xy = Station::Get(ord->GetDestination())->xy; + xy = BaseStation::Get(ord->GetDestination())->xy; break; case OT_GOTO_DEPOT: -- cgit v1.2.3-54-g00ecf