(svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible.

This commit is contained in:
rubidium 2008-08-29 21:06:49 +00:00
parent 4c56b827e5
commit 7c002c14cc
1 changed files with 1 additions and 0 deletions

View File

@ -1715,6 +1715,7 @@ static void SaveVersionInConfig(IniFile *ini)
/* Save a GRF configuration to the given group name */
static void GRFSaveConfig(IniFile *ini, const char *grpname, const GRFConfig *list)
{
ini->RemoveGroup(grpname);
IniGroup *group = ini->GetGroup(grpname);
const GRFConfig *c;