aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/illusions.cpp
diff options
context:
space:
mode:
authorjohndoe1232014-04-01 11:22:58 +0200
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commitd77d4ed4a61d79ffc75bb9dbdab01157da387a13 (patch)
treebcf62f7f9ce9b3dd8a95cca16fe96bfc22d8ff66 /engines/illusions/illusions.cpp
parentf2c48e3ae0e5775da6f3dcac841414cf8b5379ef (diff)
downloadscummvm-rg350-d77d4ed4a61d79ffc75bb9dbdab01157da387a13.tar.gz
scummvm-rg350-d77d4ed4a61d79ffc75bb9dbdab01157da387a13.tar.bz2
scummvm-rg350-d77d4ed4a61d79ffc75bb9dbdab01157da387a13.zip
ILLUSIONS: Fix bug which occured when trying to walk while talking
- Fix minor bugs - Work on talk thread handling
Diffstat (limited to 'engines/illusions/illusions.cpp')
-rw-r--r--engines/illusions/illusions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/illusions/illusions.cpp b/engines/illusions/illusions.cpp
index 4748634e1c..684314e2cb 100644
--- a/engines/illusions/illusions.cpp
+++ b/engines/illusions/illusions.cpp
@@ -229,8 +229,9 @@ int IllusionsEngine::updateSequences() {
// TODO Move to Controls class
for (Controls::ItemsIterator it = _controls->_controls.begin(); it != _controls->_controls.end(); ++it) {
Control *control = *it;
- if (control->_pauseCtr == 0 && control->_actor && control->_actor->_seqCodeIp)
+ if (control->_pauseCtr == 0 && control->_actor && control->_actor->_seqCodeIp) {
control->sequenceActor();
+ }
}
return 1;
}