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
commita9bb5be49d8b6b26a78b315aceeed972554b46dc (patch)
tree70df1e5fa1346ddc8214906f90ce7ff391e41e98 /order_gui.c
parentd91326fb4ae64a06dc08458c157b83f3197b5d9c (diff)
downloadopenttd-a9bb5be49d8b6b26a78b315aceeed972554b46dc.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);
}