From 17ec6ed70d1a20e93efa4859f9a41ca30489e03f Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 2 Feb 2006 07:15:46 +0000 Subject: (svn r3520) Remove unused parameters from some functions --- train_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'train_gui.c') diff --git a/train_gui.c b/train_gui.c index 4fc4f264f..f3fd603b6 100644 --- a/train_gui.c +++ b/train_gui.c @@ -618,7 +618,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) { Vehicle* v = CheckMouseOverVehicle(); @@ -661,7 +661,7 @@ static void TrainDepotWndProc(Window *w, WindowEvent *e) } break; case WE_PLACE_OBJ: { - ClonePlaceObj(e->place.tile, w); + ClonePlaceObj(w); } break; case WE_ABORT_PLACE_OBJ: { -- cgit v1.2.3-54-g00ecf