1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 11:53:53 +00:00

Merge remote-tracking branch 'greye/next' into dialogue

This commit is contained in:
Marc Zinnschlag 2012-11-08 18:19:52 +01:00
commit e912b5bed2

View file

@ -110,7 +110,7 @@ namespace MWWorld
typename std::vector<T>::const_iterator it =
std::lower_bound(mStatic.begin(), mStatic.end(), item, RecordCmp());
if (it != mStatic.end() && it->mId == item.mId) {
if (it != mStatic.end() && StringUtils::ciEqual(it->mId, id)) {
return &(*it);
}