diff options
author | yexo <yexo@openttd.org> | 2010-08-23 21:47:07 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-23 21:47:07 +0000 |
commit | a36159614a20c19b78b524e412a69b8a6f1abaa2 (patch) | |
tree | 0569c7e5e267c15d21aa3cfe26fddf991f7fe726 /src/newgrf_gui.cpp | |
parent | 8ce06a09b9ce561cd823793dfb8c18aee894fd76 (diff) | |
download | openttd-a36159614a20c19b78b524e412a69b8a6f1abaa2.tar.xz |
(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 7ba86b6e9..8bfc02843 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -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. */ |