summaryrefslogtreecommitdiff
path: root/src/newgrf_canal.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_canal.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_canal.cpp')
-rw-r--r--src/newgrf_canal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_canal.cpp b/src/newgrf_canal.cpp
index cea1cdbce..135dce82c 100644
--- a/src/newgrf_canal.cpp
+++ b/src/newgrf_canal.cpp
@@ -82,7 +82,7 @@ static void NewCanalResolver(ResolverObject *res, TileIndex tile, const GRFFile
res->GetTriggers = &CanalGetTriggers;
res->SetTriggers = &CanalSetTriggers;
res->GetVariable = &CanalGetVariable;
- res->ResolveReal = &CanalResolveReal;
+ res->ResolveRealMethod = &CanalResolveReal;
res->u.canal.tile = tile;