forked from teamnwah/openmw-tes3coop
fixed another case handling problem
This commit is contained in:
parent
c9ca565462
commit
6f5a772d02
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ namespace CSMWorld
|
|||
record2.mModified = record;
|
||||
|
||||
mRecords.push_back (record2);
|
||||
mIndex.insert (std::make_pair (id, mRecords.size()-1));
|
||||
mIndex.insert (std::make_pair (Misc::StringUtils::lowerCase (id), mRecords.size()-1));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -306,7 +306,7 @@ namespace CSMWorld
|
|||
void IdCollection<ESXRecordT>::appendRecord (const RecordBase& record)
|
||||
{
|
||||
mRecords.push_back (dynamic_cast<const Record<ESXRecordT>&> (record));
|
||||
mIndex.insert (std::make_pair (getId (record), mRecords.size()-1));
|
||||
mIndex.insert (std::make_pair (Misc::StringUtils::lowerCase (getId (record)), mRecords.size()-1));
|
||||
}
|
||||
|
||||
template<typename ESXRecordT>
|
||||
|
|
Loading…
Reference in a new issue