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
commit127c7c9b0f7b7fcd3207c31260b0da2eb454dadb (patch)
treedb5465ed42e7375d69aaa2e0fec4c59e9d3083af /src/vehicle_gui.cpp
parent01edaeec578bddb73b4513baf9d8bfe5f9a886b0 (diff)
downloadopenttd-127c7c9b0f7b7fcd3207c31260b0da2eb454dadb.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;