forked from mirror/OpenTTD
(svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
This commit is contained in:
@@ -37,7 +37,7 @@ void InitializeSoundPool(void)
|
||||
|
||||
FileEntry *GetSound(uint index)
|
||||
{
|
||||
if (index >= _sound_count) return NULL;
|
||||
if (index >= GetNumSounds()) return NULL;
|
||||
return GetSoundInternal(index);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user