ZVISION: Initialize the iterator

This commit is contained in:
richiesams 2013-07-30 14:35:34 -05:00
parent d06083aa96
commit 903e21b8af

View File

@ -55,7 +55,7 @@ void ScriptManager::createReferenceTable() {
}
// Remove duplicate entries
for (Common::HashMap<uint32, Common::Array<Puzzle *> >::iterator referenceTableIter; referenceTableIter != _referenceTable.end(); referenceTableIter++) {
for (Common::HashMap<uint32, Common::Array<Puzzle *> >::iterator referenceTableIter = _referenceTable.begin(); referenceTableIter != _referenceTable.end(); referenceTableIter++) {
removeDuplicateEntries(&(referenceTableIter->_value));
}
}