src/vehicle_gui.cpp
changeset 8138 7dc73953c47e
parent 8059 32c519af0159
child 8255 ba58769915ac
--- a/src/vehicle_gui.cpp	Wed Sep 26 16:12:43 2007 +0000
+++ b/src/vehicle_gui.cpp	Wed Sep 26 17:33:32 2007 +0000
@@ -208,7 +208,7 @@
 			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;