From 9e2e73f30ba7ac442a27cee137e3174bc1bb7d99 Mon Sep 17 00:00:00 2001 From: glx Date: Tue, 19 Jun 2007 17:13:25 +0000 Subject: (svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared --- src/newgrf_config.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_config.cpp') 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; -- cgit v1.2.3-70-g09d2