src/newgrf_sound.cpp
branchcpp_gui
changeset 6268 4b5241e5dd10
parent 5838 9c3129cb019b
child 6298 c30fe89622df
equal deleted inserted replaced
6267:7c8ec33959b1 6268:4b5241e5dd10
    35 }
    35 }
    36 
    36 
    37 
    37 
    38 FileEntry *GetSound(uint index)
    38 FileEntry *GetSound(uint index)
    39 {
    39 {
    40 	if (index >= _sound_count) return NULL;
    40 	if (index >= GetNumSounds()) return NULL;
    41 	return GetSoundInternal(index);
    41 	return GetSoundInternal(index);
    42 }
    42 }
    43 
    43 
    44 
    44 
    45 uint GetNumSounds(void)
    45 uint GetNumSounds(void)