summaryrefslogtreecommitdiff
path: root/src/newgrf_config.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-10-17 12:14:49 +0000
committerfrosch <frosch@openttd.org>2010-10-17 12:14:49 +0000
commit38c350fad589148ceb8f02a1df815a9555ef0f2e (patch)
tree6d0cd91cb277587c31d552ea0230e230eadc9368 /src/newgrf_config.cpp
parent8a0685494392e83ca967f133a2d55f8a4baed5c1 (diff)
downloadopenttd-38c350fad589148ceb8f02a1df815a9555ef0f2e.tar.xz
(svn r20960) -Add: Allow setting 'minimal compatible version' via Action14. (planetmaker)
Note: Setting 'VRSN' also sets 'MINV' resulting in the Grf being only compatible to the same version. Set 'MINV' after 'VRSN' if your Grf is compatible to older versions.
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r--src/newgrf_config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp
index b951ebfe2..763941e20 100644
--- a/src/newgrf_config.cpp
+++ b/src/newgrf_config.cpp
@@ -40,6 +40,7 @@ GRFConfig::GRFConfig(const GRFConfig &config) :
ZeroedMemoryAllocator(),
ident(config.ident),
version(config.version),
+ min_loadable_version(config.min_loadable_version),
flags(config.flags & ~GCF_COPY),
status(config.status),
grf_bugs(config.grf_bugs),