(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
This commit is contained in:
@@ -365,7 +365,7 @@ struct DepotWindow : Window {
|
||||
SetDParam(0, depot->town_index);
|
||||
}
|
||||
|
||||
DrawWindowWidgets(w);
|
||||
w->DrawWidgets();
|
||||
|
||||
num = this->vscroll.pos * boxes_in_each_row;
|
||||
maxval = min(this->engine_count, num + (rows_in_display * boxes_in_each_row));
|
||||
|
Reference in New Issue
Block a user