src/order_cmd.cpp
changeset 8909 c530b4103d14
parent 8903 04bcd0e7d4d6
child 8911 e986cdff87a7
--- a/src/order_cmd.cpp	Sat Apr 12 22:19:34 2008 +0000
+++ b/src/order_cmd.cpp	Sat Apr 12 22:40:56 2008 +0000
@@ -1644,7 +1644,7 @@
 	}
 
 	/* If it is unchanged, keep it. */
-	if (order->Equals(v->current_order) &&
+	if (order->Equals(v->current_order) && v->dest_tile != 0 &&
 			(v->type != VEH_SHIP || !order->IsType(OT_GOTO_STATION) || GetStation(order->GetDestination())->dock_tile != 0)) {
 		return false;
 	}