From 127c7c9b0f7b7fcd3207c31260b0da2eb454dadb Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 26 Sep 2007 17:33:32 +0000 Subject: (svn r11173) -Codechange: rename some callback enums so they are more uniform. --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle.cpp') diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 8d257b1a8..93f48c92c 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2619,7 +2619,7 @@ static SpriteID GetEngineColourMap(EngineID engine_type, PlayerID player, Engine SpriteID map = PAL_NONE; /* Check if we should use the colour map callback */ - if (HASBIT(EngInfo(engine_type)->callbackmask, CBM_COLOUR_REMAP)) { + if (HASBIT(EngInfo(engine_type)->callbackmask, CBM_VEHICLE_COLOUR_REMAP)) { uint16 callback = GetVehicleCallback(CBID_VEHICLE_COLOUR_MAPPING, 0, 0, engine_type, v); /* A return value of 0xC000 is stated to "use the default two-color * maps" which happens to be the failure action too... */ -- cgit v1.2.3-54-g00ecf