mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
ACCESS: Fix spoken text randomly being skipped
This commit is contained in:
parent
24c9008d1c
commit
972a1bbfd4
@ -1005,10 +1005,7 @@ void Scripts::cmdFreeSound() {
|
||||
} while (!_vm->shouldQuit() && sound.isSFXPlaying());
|
||||
|
||||
// Free the sounds
|
||||
while (sound._soundTable.size() > 0) {
|
||||
delete sound._soundTable[0]._res;
|
||||
sound._soundTable.remove_at(0);
|
||||
}
|
||||
sound.freeSounds();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user