forked from mirror/openmw-tes3mp
fix searching in store
This commit is contained in:
parent
c5a6171aab
commit
af5fb7916f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue