summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-14 12:22:57 +0000
committerrubidium <rubidium@openttd.org>2009-09-14 12:22:57 +0000
commit64bafcbe182ef539a31ffed9bd1f19ca0f7ae62a (patch)
tree9684bfe8873532713641d2c70fb5315f60104565 /src/engine.cpp
parentd96333b7c3ad8a1cb940f51f5ce510393158a479 (diff)
downloadopenttd-64bafcbe182ef539a31ffed9bd1f19ca0f7ae62a.tar.xz
(svn r17534) -Codechange: unify the naming of callback masks/flags
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 09e0ad292..3430e48fb 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -793,7 +793,7 @@ bool IsEngineRefittable(EngineID engine)
/* Are there suffixes?
* Note: This does not mean the suffixes are actually available for every consist at any time. */
- if (HasBit(ei->callbackmask, CBM_VEHICLE_CARGO_SUFFIX)) return true;
+ if (HasBit(ei->callback_mask, CBM_VEHICLE_CARGO_SUFFIX)) return true;
/* Is there any cargo except the default cargo? */
CargoID default_cargo = e->GetDefaultCargoType();