forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -34,7 +34,7 @@ void InitializeSoundPool()
|
||||
}
|
||||
|
||||
|
||||
FileEntry *GetSound(uint index)
|
||||
FileEntry *GetSound(SoundID index)
|
||||
{
|
||||
if (index >= GetNumSounds()) return NULL;
|
||||
return GetSoundInternal(index);
|
||||
|
Reference in New Issue
Block a user