mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 19:09:09 +00:00
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user