diff options
author | Max Horn | 2009-04-11 21:38:41 +0000 |
---|---|---|
committer | Max Horn | 2009-04-11 21:38:41 +0000 |
commit | 41bd7cd94b6c26ea06da5a2f3f0aefdf4adc5c90 (patch) | |
tree | a290f4f777a914b015b90198f023b4de1a540f8f /engines/saga/script.cpp | |
parent | 82f862c6b20de0f2449eb012d4a26e371d87dd52 (diff) | |
download | scummvm-rg350-41bd7cd94b6c26ea06da5a2f3f0aefdf4adc5c90.tar.gz scummvm-rg350-41bd7cd94b6c26ea06da5a2f3f0aefdf4adc5c90.tar.bz2 scummvm-rg350-41bd7cd94b6c26ea06da5a2f3f0aefdf4adc5c90.zip |
SAGA: changed _threadList back to a list of ScriptThread objs, instead of ptrs to instances.
svn-id: r39944
Diffstat (limited to 'engines/saga/script.cpp')
-rw-r--r-- | engines/saga/script.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp index 1cc85b05c2..7a7e15c249 100644 --- a/engines/saga/script.cpp +++ b/engines/saga/script.cpp @@ -220,11 +220,7 @@ Script::Script(SagaEngine *vm) : _vm(vm) { // Shut down script module gracefully; free all allocated module resources Script::~Script() { - ScriptThreadList::iterator threadIterator = _threadList.begin(); - while (threadIterator != _threadList.end()) { - delete *threadIterator; - threadIterator = _threadList.erase(threadIterator); - } + } // Script opcodes |