mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-16 08:42:23 +00:00
some cleanup
This commit is contained in:
parent
8062faa51a
commit
e23a32c44f
@ -55,10 +55,8 @@ std::pair<char, bool> CSMWorld::ScriptContext::getMemberType (const std::string&
|
|||||||
if (index!=-1)
|
if (index!=-1)
|
||||||
{
|
{
|
||||||
// Referenceable found.
|
// Referenceable found.
|
||||||
int columnIndex = mData.getReferenceables().searchColumnIndex (Columns::ColumnId_Script);
|
int columnIndex = mData.getReferenceables().findColumnIndex (Columns::ColumnId_Script);
|
||||||
|
|
||||||
if (columnIndex!=-1)
|
|
||||||
{
|
|
||||||
id2 = Misc::StringUtils::lowerCase (mData.getReferenceables().
|
id2 = Misc::StringUtils::lowerCase (mData.getReferenceables().
|
||||||
getData (index, columnIndex).toString().toUtf8().constData());
|
getData (index, columnIndex).toString().toUtf8().constData());
|
||||||
|
|
||||||
@ -70,7 +68,6 @@ std::pair<char, bool> CSMWorld::ScriptContext::getMemberType (const std::string&
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (index==-1)
|
if (index==-1)
|
||||||
return std::make_pair (' ', false);
|
return std::make_pair (' ', false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user