ILLUSIONS: Fix bug which occured when trying to walk while talking

- Fix minor bugs
- Work on talk thread handling
This commit is contained in:
johndoe123 2014-04-01 11:22:58 +02:00 committed by Eugene Sandulenko
parent f2c48e3ae0
commit d77d4ed4a6
12 changed files with 58 additions and 59 deletions

View file

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