summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-02 07:15:46 +0000
committertron <tron@openttd.org>2006-02-02 07:15:46 +0000
commitb844aa2db3f7ee77ffee09bdfb2fd9f2dc13b924 (patch)
tree986bf53fde84b3cd16b658ae7ff1a59b2d28e5ec /roadveh_gui.c
parent21fb5b5150672011d9bc57e227f6d6747a8938de (diff)
downloadopenttd-b844aa2db3f7ee77ffee09bdfb2fd9f2dc13b924.tar.xz
(svn r3520) Remove unused parameters from some functions
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r--roadveh_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 6d58567e3..c4d8017c1 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -670,7 +670,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();
@@ -715,7 +715,7 @@ static void RoadDepotWndProc(Window *w, WindowEvent *e)
} break;
case WE_PLACE_OBJ: {
- ClonePlaceObj(e->place.tile, w);
+ ClonePlaceObj(w);
} break;
case WE_ABORT_PLACE_OBJ: {