summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-03 07:43:00 +0000
committertron <tron@openttd.org>2004-12-03 07:43:00 +0000
commitecf1c35849e0713f0c40727ad2253f0ffec94b93 (patch)
treee39a57439be0a2878fec3147140ca4e16f6b00e6 /order_gui.c
parent9a900c0f30da9203b21b676cc129a97b5a6ec719 (diff)
downloadopenttd-ecf1c35849e0713f0c40727ad2253f0ffec94b93.tar.xz
(svn r907) Sprinkle holy ANSI water:
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/order_gui.c b/order_gui.c
index 956a1cecc..de58f3306 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -154,7 +154,7 @@ static void *FindVehicleCallb(Vehicle *v, FindVehS *f)
Vehicle *GetVehicleOnTile(TileIndex tile, byte owner)
{
- FindVehS fs = {tile, owner};
+ FindVehS fs = {tile, owner, 0};
return VehicleFromPos(tile, &fs, (VehicleFromPosProc*)FindVehicleCallb);
}