summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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),