mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
This commit is contained in:
parent
e7191fc57a
commit
9e2e73f30b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue