(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared

This commit is contained in:
glx 2007-06-19 17:13:25 +00:00
parent e7191fc57a
commit 9e2e73f30b
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src, bool init_o
if (src->error->custom_message != NULL) c->error->custom_message = strdup(src->error->custom_message);
}
CLRBIT(c->flags, GCF_INIT_ONLY);
if (init_only) SETBIT(c->flags, GCF_INIT_ONLY);
*dst = c;