forked from mirror/OpenTTD
(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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user