changeset 2921:171c2b26c070 draft

(svn r3477) -Fix: a fix that fixed the last commit.. I shouldn't be committing here :)
author truelight <truelight@openttd.org>
date Sun, 29 Jan 2006 20:06:26 +0000
parents ac80dd4d6c81
children b181ae766bb6
files order_gui.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/order_gui.c
+++ b/order_gui.c
@@ -191,8 +191,6 @@
 	Order order;
 	int st_index;
 
-	order.station = INVALID_STATION;
-
 	// check depot first
 	if (_patches.gotodepot) {
 		switch (GetTileType(tile)) {
@@ -278,6 +276,7 @@
 	// not found
 	order.type = OT_NOTHING;
 	order.flags = 0;
+	order.station = INVALID_STATION;
 	return order;
 }