summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-23 14:46:16 +0000
committertruelight <truelight@openttd.org>2004-12-23 14:46:16 +0000
commitdfc5fdbb9287391bd42c1ed0145faf8607e8b04b (patch)
tree70df1e5fa1346ddc8214906f90ce7ff391e41e98 /order_gui.c
parent3fa05f42b2f0cda6f62ab7191e96261106340e44 (diff)
downloadopenttd-dfc5fdbb9287391bd42c1ed0145faf8607e8b04b.tar.xz
(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)
Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives'
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/order_gui.c b/order_gui.c
index f3bd90a51..c3098dc41 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -164,7 +164,10 @@ static void *FindVehicleCallb(Vehicle *v, FindVehS *f)
Vehicle *GetVehicleOnTile(TileIndex tile, byte owner)
{
- FindVehS fs = {tile, owner, 0};
+ FindVehS fs;
+ fs.tile = tile;
+ fs.owner = owner;
+ fs.type = 0;
return VehicleFromPos(tile, &fs, (VehicleFromPosProc*)FindVehicleCallb);
}