summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-09 21:57:02 +0000
committerrubidium <rubidium@openttd.org>2010-11-09 21:57:02 +0000
commitab31493dc288be12f728a37923026040ca0f067b (patch)
treeff6793d542973daba4ae2489048df85863b76e7b /src
parentb3ab73164c77d1a16f2ed1cb1af5b416cecbfdbb (diff)
downloadopenttd-ab31493dc288be12f728a37923026040ca0f067b.tar.xz
(svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index 763941e20..e7be72fab 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -41,7 +41,7 @@ GRFConfig::GRFConfig(const GRFConfig &config) :
ident(config.ident),
version(config.version),
min_loadable_version(config.min_loadable_version),
- flags(config.flags & ~GCF_COPY),
+ flags(config.flags & ~(1 << GCF_COPY)),
status(config.status),
grf_bugs(config.grf_bugs),
num_params(config.num_params),