Skip to content

Commit

Permalink
ZVISION: Make controls processing breakeable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marisa-Chan committed Aug 4, 2014
1 parent 5a87010 commit fb62b94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/zvision/scripting/script_manager.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit fb62b94

Please sign in to comment.