From 24ffb8bbbacb0b77f7264ee87eb8e9ef0abaaa26 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 24 Dec 2008 22:33:06 +0000 Subject: (svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index e99915b57..703b3f817 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4549,7 +4549,7 @@ static void ParamSet(byte *buf, size_t len) /* Read another GRF File's parameter */ const GRFFile *file = GetFileByGRFID(data); GRFConfig *c = GetGRFConfig(data); - if (c != NULL && HasBit(c->status, GCF_STATIC) && !HasBit(_cur_grfconfig->status, GCF_STATIC) && _networking) { + if (c != NULL && HasBit(c->flags, GCF_STATIC) && !HasBit(_cur_grfconfig->flags, GCF_STATIC) && _networking) { /* Disable the read GRF if it is a static NewGRF. */ DisableStaticNewGRFInfluencingNonStaticNewGRFs(c); src1 = 0; -- cgit v1.2.3-70-g09d2