diff options
author | rubidium <rubidium@openttd.org> | 2007-09-26 17:33:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-26 17:33:32 +0000 |
commit | a28b307c952fb4213ec75ad8db602235e84f934e (patch) | |
tree | db5465ed42e7375d69aaa2e0fec4c59e9d3083af /src/ship_cmd.cpp | |
parent | 80a3590bf57bc6b69b9f74baef7798ecd6f3e8de (diff) | |
download | openttd-a28b307c952fb4213ec75ad8db602235e84f934e.tar.xz |
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
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 c3251e33f..b4859cc73 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -1079,7 +1079,7 @@ CommandCost CmdRefitShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) SET_EXPENSES_TYPE(EXPENSES_SHIP_RUN); /* Check the refit capacity callback */ - if (HASBIT(EngInfo(v->engine_type)->callbackmask, CBM_REFIT_CAPACITY)) { + if (HASBIT(EngInfo(v->engine_type)->callbackmask, CBM_VEHICLE_REFIT_CAPACITY)) { /* Back up the existing cargo type */ CargoID temp_cid = v->cargo_type; byte temp_subtype = v->cargo_subtype; |