1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

fixed a bad cast

This commit is contained in:
Marc Zinnschlag 2013-05-01 16:49:34 +02:00
parent 236751ec45
commit f8a331f173

View File

@ -349,7 +349,7 @@ namespace CSMWorld
{
mRecords.push_back (dynamic_cast<const Record<ESXRecordT>&> (record));
mIndex.insert (std::make_pair (Misc::StringUtils::lowerCase (IdAccessorT().getId (
dynamic_cast<const ESXRecordT&> (record))),
dynamic_cast<const Record<ESXRecordT>&> (record).get())),
mRecords.size()-1));
}