(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14

This commit is contained in:
yexo
2010-08-23 21:47:07 +00:00
parent 75329688e6
commit 8d451d3d72
4 changed files with 32 additions and 1 deletions

View File

@@ -803,6 +803,7 @@ struct NewGRFWindow : public QueryStringBaseWindow {
}
GRFConfig *c = new GRFConfig(*this->avail_sel); // Copy GRF details from scanned list.
c->SetParameterDefaults();
*list = c; // Append GRF config to configuration list.
/* Select next (or previous, if last one) item in the list. */