ACCESS: Fix spoken text randomly being skipped

This commit is contained in:
Paul Gilbert 2016-02-10 20:48:19 -05:00
parent 24c9008d1c
commit 972a1bbfd4

View File

@ -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();
}
}