diff options
author | Willem Jan Palenstijn | 2011-11-11 00:16:57 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-11 00:16:57 +0100 |
commit | 71566a4307af81b4af6b1755f525ba90afd038ac (patch) | |
tree | 2efdd0c976ef79c19472566e69b68bf381d098f5 /engines/sci/engine | |
parent | 8c57e4bf431be137ed81957a2c3b960a35650d39 (diff) | |
download | scummvm-rg350-71566a4307af81b4af6b1755f525ba90afd038ac.tar.gz scummvm-rg350-71566a4307af81b4af6b1755f525ba90afd038ac.tar.bz2 scummvm-rg350-71566a4307af81b4af6b1755f525ba90afd038ac.zip |
SCI: Fix style
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/seg_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index f7da0ce970..04c61f7b7c 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -270,13 +270,13 @@ reg_t SegManager::findObjectByName(const Common::String &name, int index) { if (mobj->getType() == SEG_TYPE_SCRIPT) { // It's a script, scan all objects in it const Script *scr = (const Script *)mobj; - const ObjMap& objects = scr->getObjectMap(); + const ObjMap &objects = scr->getObjectMap(); for (ObjMap::const_iterator it = objects.begin(); it != objects.end(); ++it) { objpos.offset = it->_value.getPos().offset; if (name == getObjectName(objpos)) result.push_back(objpos); } - } else if (mobj->getType() == SEG_TYPE_CLONES) { + } else if (mobj->getType() == SEG_TYPE_CLONES) { // It's clone table, scan all objects in it const CloneTable *ct = (const CloneTable *)mobj; for (uint idx = 0; idx < ct->_table.size(); ++idx) { |