diff options
author | Marisa-Chan | 2014-08-04 16:29:58 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-08-04 16:29:58 +0700 |
commit | fb62b9477b5a9d887eb3484d82a7ef67efb6bfa5 (patch) | |
tree | d2d78870ace1049c6c05e0a83b576256719f43d3 /engines/zvision/scripting | |
parent | 5a870100bd62ce3913bb4a3adb6bd12ce97f1675 (diff) | |
download | scummvm-rg350-fb62b9477b5a9d887eb3484d82a7ef67efb6bfa5.tar.gz scummvm-rg350-fb62b9477b5a9d887eb3484d82a7ef67efb6bfa5.tar.bz2 scummvm-rg350-fb62b9477b5a9d887eb3484d82a7ef67efb6bfa5.zip |
ZVISION: Make controls processing breakeable.
Diffstat (limited to 'engines/zvision/scripting')
-rw-r--r-- | engines/zvision/scripting/script_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/zvision/scripting/script_manager.cpp b/engines/zvision/scripting/script_manager.cpp index 53fa5832d9..4dd51816a0 100644 --- a/engines/zvision/scripting/script_manager.cpp +++ b/engines/zvision/scripting/script_manager.cpp @@ -181,7 +181,8 @@ void ScriptManager::updateControls(uint deltaTimeMillis) { } for (ControlList::iterator iter = _activeControls->begin(); iter != _activeControls->end(); iter++) - (*iter)->process(deltaTimeMillis); + if ( (*iter)->process(deltaTimeMillis) ) + break; } void ScriptManager::checkPuzzleCriteria(Puzzle *puzzle, uint counter) { |