mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 18:24:59 +00:00
ZVISION: Initialize the iterator
This commit is contained in:
parent
d06083aa96
commit
903e21b8af
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user