(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
authorglx
Tue, 19 Jun 2007 17:13:25 +0000
changeset 6967 73135cd741de
parent 6966 e13afa08b151
child 6968 023364d194b9
(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
src/newgrf_config.cpp
--- a/src/newgrf_config.cpp	Tue Jun 19 16:40:59 2007 +0000
+++ b/src/newgrf_config.cpp	Tue Jun 19 17:13:25 2007 +0000
@@ -144,6 +144,7 @@
 			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;