diff options
author | frosch <frosch@openttd.org> | 2014-03-23 13:28:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-03-23 13:28:32 +0000 |
commit | 53706139242224718a3cbd5f5f1106750a1c4bc1 (patch) | |
tree | 2046f2bb18b8e937fc69a01f6325ff54f8b9fd69 /src/sound_type.h | |
parent | 73a22455289d8a29cdf4efd56a17cf2b646ea3dd (diff) | |
download | openttd-53706139242224718a3cbd5f5f1106750a1c4bc1.tar.xz |
(svn r26422) -Fix [FS#5946]: Some road constructions used the rail sound effect. Rename the enum items to properly reflect their purpose.
Diffstat (limited to 'src/sound_type.h')
-rw-r--r-- | src/sound_type.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sound_type.h b/src/sound_type.h index b014c2694..799c7a887 100644 --- a/src/sound_type.h +++ b/src/sound_type.h @@ -26,7 +26,7 @@ struct SoundEntry { enum SoundFx { SND_BEGIN = 0, - SND_02_SPLAT = 0, // 0 == 0x00 ! + SND_02_SPLAT_WATER = 0, ///< Water construction. SND_03_FACTORY_WHISTLE, SND_04_TRAIN, SND_05_TRAIN_THROUGH_TUNNEL, @@ -55,8 +55,8 @@ enum SoundFx { SND_1C_TRUCK_START_2, SND_1D_APPLAUSE, SND_1E_OOOOH, - SND_1F_SPLAT, // 29 == 0x1D - SND_20_SPLAT_2, // 30 == 0x1E + SND_1F_SPLAT_OTHER, ///< Non-water non-rail construction. + SND_20_SPLAT_RAIL, ///< Rail construction. SND_21_JACKHAMMER, SND_22_CAR_HORN, SND_23_CAR_HORN_2, |