summaryrefslogtreecommitdiff
path: root/src/sound_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-17 14:57:14 +0000
committerrubidium <rubidium@openttd.org>2009-05-17 14:57:14 +0000
commit83dc6ef6e6064441c9a5ebc22061de313147821a (patch)
tree8b0b8b6ca9e6aaf81fe59ebc54ae306fba452ff7 /src/sound_type.h
parent10ea72a08e52cf9aaa54551ce201a6091316d47a (diff)
downloadopenttd-83dc6ef6e6064441c9a5ebc22061de313147821a.tar.xz
(svn r16337) -Codechange: remove pointless variable + wrapper function; having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
Diffstat (limited to 'src/sound_type.h')
-rw-r--r--src/sound_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sound_type.h b/src/sound_type.h
index 8efc6a22a..0879ff717 100644
--- a/src/sound_type.h
+++ b/src/sound_type.h
@@ -110,4 +110,7 @@ enum SoundFx {
template <> struct EnumPropsT<SoundFx> : MakeEnumPropsT<SoundFx, byte, SND_BEGIN, SND_END, SND_END> {};
typedef TinyEnumT<SoundFx> SoundFxByte;
+/** The number of sounds in the original sample.cat */
+static const uint ORIGINAL_SAMPLE_COUNT = 73;
+
#endif /* SOUND_TYPE_H */