diff options
author | rubidium <rubidium@openttd.org> | 2009-05-17 17:17:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-17 17:17:48 +0000 |
commit | 9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53 (patch) | |
tree | 1b503e6d6551d4e0b93ceeaa187e88e3797ea7af /src/newgrf_sound.cpp | |
parent | e3bd95e7b6694a68a73bbb2649d6f96092e2e313 (diff) | |
download | openttd-9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53.tar.xz |
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
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 72f2da840..1ea568f32 100644 --- a/src/newgrf_sound.cpp +++ b/src/newgrf_sound.cpp @@ -34,7 +34,7 @@ void InitializeSoundPool() } -FileEntry *GetSound(uint index) +FileEntry *GetSound(SoundID index) { if (index >= GetNumSounds()) return NULL; return GetSoundInternal(index); |