From 8b8ef85ccb53a7e06e9e833d889d574eaada554f Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 29 Jan 2006 20:06:26 +0000 Subject: [PATCH] (svn r3477) -Fix: a fix that fixed the last commit.. I shouldn't be committing here :) --- order_gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/order_gui.c b/order_gui.c index 258f8b5908..50c45b16ba 100644 --- a/order_gui.c +++ b/order_gui.c @@ -191,8 +191,6 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) Order order; int st_index; - order.station = INVALID_STATION; - // check depot first if (_patches.gotodepot) { switch (GetTileType(tile)) { @@ -278,6 +276,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) // not found order.type = OT_NOTHING; order.flags = 0; + order.station = INVALID_STATION; return order; }