(svn r10223) -Fix r10211: GCF_INIT_ONLY flag was never cleared
authorglx
Tue, 19 Jun 2007 17:13:25 +0000
changeset 7463 c3c45ee51255
parent 7462 08e10afded56
child 7464 1ea676d8eb7d
(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;