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/ship_cmd.cpp | |
parent | d96333b7c3ad8a1cb940f51f5ce510393158a479 (diff) | |
download | openttd-64bafcbe182ef539a31ffed9bd1f19ca0f7ae62a.tar.xz |
(svn r17534) -Codechange: unify the naming of callback masks/flags
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index a88d4f429..b612c6ec9 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -918,7 +918,7 @@ CommandCost CmdRefitShip(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 if (new_cid >= NUM_CARGO || !CanRefitTo(v->engine_type, new_cid)) return CMD_ERROR; /* Check the refit capacity callback */ - 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 existing cargo type */ CargoID temp_cid = v->cargo_type; byte temp_subtype = v->cargo_subtype; |