(svn r3477) -Fix: a fix that fixed the last commit.. I shouldn't be committing here :)
authortruelight
Sun, 29 Jan 2006 20:06:26 +0000
changeset 2921 c6d012dd525f
parent 2920 a582cd504686
child 2922 61cf61d25de9
(svn r3477) -Fix: a fix that fixed the last commit.. I shouldn't be committing here :)
order_gui.c
--- a/order_gui.c	Sun Jan 29 20:03:50 2006 +0000
+++ b/order_gui.c	Sun Jan 29 20:06:26 2006 +0000
@@ -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;
 }