| author | peter1138 |
| Thu, 28 Dec 2006 16:11:07 +0000 | |
| changeset 5401 | b329aa268ce4 |
| parent 5400 | bba42ad3223b |
| child 5402 | 3d37a300486e |
| newgrf_config.c | file | annotate | diff | comparison | revisions |
--- a/newgrf_config.c Thu Dec 28 13:18:07 2006 +0000 +++ b/newgrf_config.c Thu Dec 28 16:11:07 2006 +0000 @@ -181,7 +181,12 @@ { GRFConfig **c = &_grfconfig; - if (defaults) c = CopyGRFConfigList(c, _grfconfig_newgame); + if (defaults) { + c = CopyGRFConfigList(c, _grfconfig_newgame); + } else { + ClearGRFConfigList(c); + } + AppendStaticGRFConfigs(&_grfconfig); }