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 | b844aa2db3f7ee77ffee09bdfb2fd9f2dc13b924 (patch) | |
tree | 986bf53fde84b3cd16b658ae7ff1a59b2d28e5ec /train_gui.c | |
parent | 21fb5b5150672011d9bc57e227f6d6747a8938de (diff) | |
download | openttd-b844aa2db3f7ee77ffee09bdfb2fd9f2dc13b924.tar.xz |
(svn r3520) Remove unused parameters from some functions
Diffstat (limited to 'train_gui.c')
-rw-r--r-- | train_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: { |