# HG changeset patch # User truelight # Date 2006-01-29 20:06:26 # Node ID 95ee5bab4a460b46ea6546e9ec6487c9ebcd953b # Parent 233c68ce482a467c1c91b31f0f99fdca15f438be (svn r3477) -Fix: a fix that fixed the last commit.. I shouldn't be committing here :) diff --git a/order_gui.c b/order_gui.c --- a/order_gui.c +++ b/order_gui.c @@ -191,8 +191,6 @@ static Order GetOrderCmdFromTile(const V 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 V // not found order.type = OT_NOTHING; order.flags = 0; + order.station = INVALID_STATION; return order; }