diff options
author | rubidium <rubidium@openttd.org> | 2009-09-14 12:22:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-14 12:22:57 +0000 |
commit | 64bafcbe182ef539a31ffed9bd1f19ca0f7ae62a (patch) | |
tree | 9684bfe8873532713641d2c70fb5315f60104565 /src/roadveh_cmd.cpp | |
parent | d96333b7c3ad8a1cb940f51f5ce510393158a479 (diff) | |
download | openttd-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.cpp | 2 |
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; |