summaryrefslogtreecommitdiff
path: root/src/newgrf_cargo.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-07-30 18:23:12 +0000
committerfrosch <frosch@openttd.org>2008-07-30 18:23:12 +0000
commit93d0ca873163cee121cc481357670c06b5cccde2 (patch)
treee8219f143ce84fdcf02b32f82e184cc7e156023d /src/newgrf_cargo.cpp
parent515b55c635199db71a41ff2bd9959b9844d0dfa1 (diff)
downloadopenttd-93d0ca873163cee121cc481357670c06b5cccde2.tar.xz
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
Diffstat (limited to 'src/newgrf_cargo.cpp')
-rw-r--r--src/newgrf_cargo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_cargo.cpp b/src/newgrf_cargo.cpp
index 1ff8de73f..06c6caedf 100644
--- a/src/newgrf_cargo.cpp
+++ b/src/newgrf_cargo.cpp
@@ -67,6 +67,7 @@ static void NewCargoResolver(ResolverObject *res, const CargoSpec *cs)
res->trigger = 0;
res->reseed = 0;
res->count = 0;
+ res->grffile = cs->grffile;
}