diff options
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index 2c1cb15a4..6ac494208 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -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; |