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
commit8650268e3dbeb1404304d910edcadf90ad313f11 (patch)
tree32acaabdf5242b311cdd5b78ed350a6d9fa343e1
parent21684a66fec8d77d805f37f722c6a157adcd9c64 (diff)
downloadopenttd-8650268e3dbeb1404304d910edcadf90ad313f11.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)) {