mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Merge branch 'fix_coc_searchExtByName' into 'master'
fix coc search Store<ESM::Cell>::searchExtByName See merge request OpenMW/openmw!2646
This commit is contained in:
commit
897b5afd79
@ -732,7 +732,7 @@ namespace MWWorld
|
||||
const ESM::Cell* cell = nullptr;
|
||||
for (const ESM::Cell* sharedCell : mSharedExt)
|
||||
{
|
||||
if (sharedCell->mName == name)
|
||||
if (Misc::StringUtils::ciEqual(sharedCell->mName, name))
|
||||
{
|
||||
if (cell == nullptr || (sharedCell->mData.mX > cell->mData.mX)
|
||||
|| (sharedCell->mData.mX == cell->mData.mX && sharedCell->mData.mY > cell->mData.mY))
|
||||
|
Loading…
x
Reference in New Issue
Block a user