diff options
author | frosch <frosch@openttd.org> | 2012-11-11 12:57:27 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-11 12:57:27 +0000 |
commit | b65ece1ea930a42763916d4dbfbaf1c190f3d2a9 (patch) | |
tree | 5353265e0667ff57bbd5f63a1dd7025f6947cde9 /src/newgrf_engine.cpp | |
parent | 55cff8407ffd6ee63765b5c31863843e2c9fc4e9 (diff) | |
download | openttd-b65ece1ea930a42763916d4dbfbaf1c190f3d2a9.tar.xz |
(svn r24695) -Fix/Cleanup: Remove remaining (incorrect) usages of ResolverObject::scope and count.
Diffstat (limited to 'src/newgrf_engine.cpp')
-rw-r--r-- | src/newgrf_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp index 05300c22b..c9d489e94 100644 --- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -1301,7 +1301,7 @@ void FillNewGRFVehicleCache(const Vehicle *v) /* Only resolve when the cache isn't valid. */ if (HasBit(v->grf_cache.cache_valid, cache_entries[i][1])) continue; bool stub; - ro.GetScope(ro.scope)->GetVariable(cache_entries[i][0], 0, &stub); + ro.GetScope(VSG_SCOPE_SELF)->GetVariable(cache_entries[i][0], 0, &stub); } /* Make sure really all bits are set. */ |