[Scummvm-cvs-logs] scummvm master -> 972a1bbfd4d74429814536c2ab781bfcb4db5aaf
dreammaster
dreammaster at scummvm.org
Thu Feb 11 02:49:08 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
972a1bbfd4 ACCESS: Fix spoken text randomly being skipped
Commit: 972a1bbfd4d74429814536c2ab781bfcb4db5aaf
https://github.com/scummvm/scummvm/commit/972a1bbfd4d74429814536c2ab781bfcb4db5aaf
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-02-10T20:48:19-05:00
Commit Message:
ACCESS: Fix spoken text randomly being skipped
Changed paths:
engines/access/scripts.cpp
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index 7c354e7..3831364 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -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();
}
}
More information about the Scummvm-git-logs
mailing list