summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-12-24 22:33:06 +0000
committersmatz <smatz@openttd.org>2008-12-24 22:33:06 +0000
commit48af805ada1a722b533d43b6bba881e8a7aae60e (patch)
treed36aab629a53f77beb0d9632a6c6993493573b28 /src
parent921863da15b912dc07b838530fefaaa01a3599ae (diff)
downloadopenttd-48af805ada1a722b533d43b6bba881e8a7aae60e.tar.xz
(svn r14738) -Fix (r13576): GCF_STATIC belongs to GRFConfig::flags, not GRFConfig::status
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
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;