summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-06-19 17:13:25 +0000
committerglx <glx@openttd.org>2007-06-19 17:13:25 +0000
commit9e2e73f30ba7ac442a27cee137e3174bc1bb7d99 (patch)
tree30072c4d5d21f843b20416828a14ed89d01728e8
parente7191fc57a9ef00e6495014f1da5a2ea67b839ca (diff)
downloadopenttd-9e2e73f30ba7ac442a27cee137e3174bc1bb7d99.tar.xz
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
-rw-r--r--src/newgrf_config.cpp1
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;