summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-01-29 20:03:50 +0000
committertruelight <truelight@openttd.org>2006-01-29 20:03:50 +0000
commit524934bbf63346a6a3c300fe6ca8f9cfd6a65e96 (patch)
tree32acaabdf5242b311cdd5b78ed350a6d9fa343e1
parent132125de7730d7cf281ff61336f493225ebe49fc (diff)
downloadopenttd-524934bbf63346a6a3c300fe6ca8f9cfd6a65e96.tar.xz
(svn r3476) -Fix: fixed a warning from the OSX compiler, it is bogus, but oh well
-rw-r--r--order_gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/order_gui.c b/order_gui.c
index a80c34257..258f8b590 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -191,6 +191,8 @@ 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)) {