summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.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/roadveh_cmd.cpp
parentd96333b7c3ad8a1cb940f51f5ce510393158a479 (diff)
downloadopenttd-64bafcbe182ef539a31ffed9bd1f19ca0f7ae62a.tar.xz
(svn r17534) -Codechange: unify the naming of callback masks/flags
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 2cf5fd8e7..14a968558 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -2020,7 +2020,7 @@ CommandCost CmdRefitRoadVeh(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
const Engine *e = Engine::Get(v->engine_type);
if (!e->CanCarryCargo()) continue;
- if (HasBit(EngInfo(v->engine_type)->callbackmask, CBM_VEHICLE_REFIT_CAPACITY)) {
+ if (HasBit(EngInfo(v->engine_type)->callback_mask, CBM_VEHICLE_REFIT_CAPACITY)) {
/* Back up the cargo type */
CargoID temp_cid = v->cargo_type;
byte temp_subtype = v->cargo_subtype;