summaryrefslogtreecommitdiff
path: root/src/newgrf_cargo.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-11-10 20:37:31 +0000
committeralberth <alberth@openttd.org>2012-11-10 20:37:31 +0000
commit438495b433f5b4d3ce81f8efc7d655d2337582fe (patch)
treee4a239bd21a6ef692d9155d469058a1526c686d3 /src/newgrf_cargo.cpp
parentfa3d470a051f5e5eae6db45635280fc33280f7f3 (diff)
downloadopenttd-438495b433f5b4d3ce81f8efc7d655d2337582fe.tar.xz
(svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes.
Diffstat (limited to 'src/newgrf_cargo.cpp')
-rw-r--r--src/newgrf_cargo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_cargo.cpp b/src/newgrf_cargo.cpp
index 0c48273cc..1755af257 100644
--- a/src/newgrf_cargo.cpp
+++ b/src/newgrf_cargo.cpp
@@ -57,7 +57,7 @@ static void NewCargoResolver(ResolverObject *res, const CargoSpec *cs)
res->GetTriggers = &CargoGetTriggers;
res->SetTriggers = &CargoSetTriggers;
res->GetVariable = &CargoGetVariable;
- res->ResolveReal = &CargoResolveReal;
+ res->ResolveRealMethod = &CargoResolveReal;
res->u.cargo.cs = cs;