mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 10:21:09 +00:00
fix searching in store
This commit is contained in:
parent
c5a6171aab
commit
af5fb7916f
@ -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…
x
Reference in New Issue
Block a user