diff options
author | Max Horn | 2009-04-11 00:29:12 +0000 |
---|---|---|
committer | Max Horn | 2009-04-11 00:29:12 +0000 |
commit | 7412b0f8e87a0139ff26309bf9db8024a63b4fb9 (patch) | |
tree | 4ddd4604afd808fceaa18cb2ea454b687e8de3b0 /engines/saga/sfuncs.cpp | |
parent | 46ddb35d9fa8520aa3effe7139c248db65d5fb8a (diff) | |
download | scummvm-rg350-7412b0f8e87a0139ff26309bf9db8024a63b4fb9.tar.gz scummvm-rg350-7412b0f8e87a0139ff26309bf9db8024a63b4fb9.tar.bz2 scummvm-rg350-7412b0f8e87a0139ff26309bf9db8024a63b4fb9.zip |
SAGA: Stop needlessly using operator*() and operator->() (many of the resulting &* uses can be removed if references are used instead of pointers everywhere, which would be a good idea anyway)
svn-id: r39920
Diffstat (limited to 'engines/saga/sfuncs.cpp')
-rw-r--r-- | engines/saga/sfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 9d298818cd..8c09934ad2 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -399,7 +399,7 @@ void Script::sfKillActorThreads(SCRIPTFUNC_PARAMS) { int16 actorId = thread->pop(); for (threadIterator = _threadList.begin(); threadIterator != _threadList.end(); ++threadIterator) { - anotherThread = threadIterator.operator->(); + anotherThread = &*threadIterator; if ((anotherThread != thread) && (anotherThread->_threadVars[kThreadVarActor] == actorId)) { anotherThread->_flags &= ~kTFlagWaiting; anotherThread->_flags |= kTFlagAborted; |