diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -1003,7 +1003,7 @@ struct DepotWindow : Window { _cursor.vehchain = false; } - virtual void OnResize(Point new_size, Point delta) + virtual void OnResize(Point delta) { this->vscroll.cap += delta.y / (int)this->resize.step_height; this->hscroll.cap += delta.x / (int)this->resize.step_width;