diff options
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/script_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp index 5b42895139..38ca1075d1 100644 --- a/engines/zvision/script_manager.cpp +++ b/engines/zvision/script_manager.cpp @@ -84,7 +84,7 @@ void ScriptManager::checkPuzzleCriteria() { for (Common::List<Puzzle::Criteria>::iterator iter = puzzle->criteriaList.begin(); iter != puzzle->criteriaList.end(); iter++) { // Get the value to compare against uint argumentValue; - if ((*iter).argument) + if ((*iter).argumentIsAKey) argumentValue = getStateValue(iter->argument); else argumentValue = iter->argument; |