author | peter1138 |
Thu, 28 Dec 2006 16:11:07 +0000 | |
changeset 5652 | bc39ff3dc48d |
parent 5588 | 1bcb6b4c01d8 |
child 5653 | 5d95f08eb4b9 |
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); }