summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-26 17:33:32 +0000
committerrubidium <rubidium@openttd.org>2007-09-26 17:33:32 +0000
commita28b307c952fb4213ec75ad8db602235e84f934e (patch)
treedb5465ed42e7375d69aaa2e0fec4c59e9d3083af /src/vehicle_gui.cpp
parent80a3590bf57bc6b69b9f74baef7798ecd6f3e8de (diff)
downloadopenttd-a28b307c952fb4213ec75ad8db602235e84f934e.tar.xz
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 252293a5a..aac92f30c 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -208,7 +208,7 @@ static RefitList *BuildRefitList(const Vehicle *v)
if (!HASBIT(cmask, cid)) continue;
/* Check the vehicle's callback mask for cargo suffixes */
- if (HASBIT(callbackmask, CBM_CARGO_SUFFIX)) {
+ if (HASBIT(callbackmask, CBM_VEHICLE_CARGO_SUFFIX)) {
/* Make a note of the original cargo type. It has to be
* changed to test the cargo & subtype... */
CargoID temp_cargo = u->cargo_type;