diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp index 90bc202dacd..2f486c440ab 100644 --- a/engines/zvision/script_manager.cpp +++ b/engines/zvision/script_manager.cpp @@ -55,7 +55,7 @@ void ScriptManager::createReferenceTable() { } // Remove duplicate entries - for (Common::HashMap >::iterator referenceTableIter; referenceTableIter != _referenceTable.end(); referenceTableIter++) { + for (Common::HashMap >::iterator referenceTableIter = _referenceTable.begin(); referenceTableIter != _referenceTable.end(); referenceTableIter++) { removeDuplicateEntries(&(referenceTableIter->_value)); } }