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 | 127c7c9b0f7b7fcd3207c31260b0da2eb454dadb (patch) | |
tree | db5465ed42e7375d69aaa2e0fec4c59e9d3083af /src/newgrf_sound.cpp | |
parent | 01edaeec578bddb73b4513baf9d8bfe5f9a886b0 (diff) | |
download | openttd-127c7c9b0f7b7fcd3207c31260b0da2eb454dadb.tar.xz |
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
Diffstat (limited to 'src/newgrf_sound.cpp')
-rw-r--r-- | src/newgrf_sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_sound.cpp b/src/newgrf_sound.cpp index 933c8c5cf..0663e17da 100644 --- a/src/newgrf_sound.cpp +++ b/src/newgrf_sound.cpp @@ -59,7 +59,7 @@ bool PlayVehicleSound(const Vehicle *v, VehicleSoundEvent event) if (file == NULL) return false; /* Check that the vehicle type uses the sound effect callback */ - if (!HASBIT(EngInfo(v->engine_type)->callbackmask, CBM_SOUND_EFFECT)) return false; + if (!HASBIT(EngInfo(v->engine_type)->callbackmask, CBM_VEHICLE_SOUND_EFFECT)) return false; callback = GetVehicleCallback(CBID_VEHICLE_SOUND_EFFECT, event, 0, v->engine_type, v); if (callback == CALLBACK_FAILED) return false; |