diff options
Diffstat (limited to 'engines/lastexpress/game/sound.cpp')
-rw-r--r-- | engines/lastexpress/game/sound.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp index 348a7f6937..3b47b6a405 100644 --- a/engines/lastexpress/game/sound.cpp +++ b/engines/lastexpress/game/sound.cpp @@ -450,6 +450,15 @@ void SoundManager::processEntries() { processEntry(kSoundType2); } +uint32 SoundManager::getEntryTime(EntityIndex index) { + SoundEntry *entry = getEntry(index); + + if (!entry) + return 0; + + return entry->time; +} + ////////////////////////////////////////////////////////////////////////// // Misc ////////////////////////////////////////////////////////////////////////// |