diff options
author | tron <tron@openttd.org> | 2006-02-02 07:15:46 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-02 07:15:46 +0000 |
commit | 17ec6ed70d1a20e93efa4859f9a41ca30489e03f (patch) | |
tree | 986bf53fde84b3cd16b658ae7ff1a59b2d28e5ec /aircraft_gui.c | |
parent | b197b9422f5d5a3c5944c422d177956e8563ef2e (diff) | |
download | openttd-17ec6ed70d1a20e93efa4859f9a41ca30489e03f.tar.xz |
(svn r3520) Remove unused parameters from some functions
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index ed6ceb376..3898f9040 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -764,7 +764,7 @@ static void HandleCloneVehClick(const Vehicle* v, const Window* w) ResetObjectToPlace(); } -static void ClonePlaceObj(TileIndex tile, const Window* w) +static void ClonePlaceObj(const Window* w) { const Vehicle* v = CheckMouseOverVehicle(); @@ -810,7 +810,7 @@ static void AircraftDepotWndProc(Window *w, WindowEvent *e) break; case WE_PLACE_OBJ: { - ClonePlaceObj(e->place.tile, w); + ClonePlaceObj(w); } break; case WE_ABORT_PLACE_OBJ: { |