diff options
Diffstat (limited to 'order_gui.c')
-rw-r--r-- | order_gui.c | 5 |
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); } |