From 016b9f289f1284eda23ba85aa41e5bad38344b4c Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Nov 2010 17:03:01 +0000 Subject: (svn r21130) -Fix [FS#4208-ish]: under some circumstances static (disabled/influencing) NewGRFs weren't properly ignored which could cause a desync --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 47acb389e..d8932c9f5 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -5073,7 +5073,7 @@ static void SkipIf(ByteReader *buf) GRFConfig *c = GetGRFConfig(cond_val, mask); - if (c != NULL && HasBit(c->flags, GCF_STATIC) && !HasBit(_cur_grfconfig->flags, GCF_STATIC) && c->status != GCS_DISABLED && _networking) { + if (c != NULL && HasBit(c->flags, GCF_STATIC) && !HasBit(_cur_grfconfig->flags, GCF_STATIC) && _networking) { DisableStaticNewGRFInfluencingNonStaticNewGRFs(c); c = NULL; } -- cgit v1.2.3-54-g00ecf