diff options
author | glx <glx@openttd.org> | 2007-06-19 17:13:25 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-06-19 17:13:25 +0000 |
commit | 554639ce928c3a5a94839ab7615cbcc698205aba (patch) | |
tree | 30072c4d5d21f843b20416828a14ed89d01728e8 /src | |
parent | 195ef328354bee0072001bf2654e680a4043019f (diff) | |
download | openttd-554639ce928c3a5a94839ab7615cbcc698205aba.tar.xz |
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
Diffstat (limited to 'src')
-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; |