summaryrefslogtreecommitdiff
path: root/src/newgrf_canal.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
committerrubidium <rubidium@openttd.org>2007-07-25 19:06:29 +0000
commitfeb91ab5ea9c0c19846825f3deb5260a4ecb36a1 (patch)
treef2e904bfcb0f95592e6d631d8b0bacddd27cbdd6 /src/newgrf_canal.cpp
parent3c253483483495b748f9644933f4c17c88f877a1 (diff)
downloadopenttd-feb91ab5ea9c0c19846825f3deb5260a4ecb36a1.tar.xz
(svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer.
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 f7ee308e3..9a8fe7ea1 100644
--- a/src/newgrf_canal.cpp
+++ b/src/newgrf_canal.cpp
@@ -73,7 +73,7 @@ static void NewCanalResolver(ResolverObject *res, TileIndex tile)
res->u.canal.tile = tile;
- res->callback = 0;
+ res->callback = CBID_NO_CALLBACK;
res->callback_param1 = 0;
res->callback_param2 = 0;
res->last_value = 0;