diff options
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 17d8b06d1..3e9cf359d 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -916,7 +916,7 @@ static void DepotWndProc(Window *w, WindowEvent *e) if (w->IsWidgetDisabled(e->we.click.widget)) return; if (WP(w, depot_d).sel == INVALID_VEHICLE) return; - HandleButtonClick(w, e->we.click.widget); + w->HandleButtonClick(e->we.click.widget); v = GetVehicle(WP(w, depot_d).sel); WP(w, depot_d).sel = INVALID_VEHICLE; |