mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 07:06:45 +00:00
fix coc search extbyname
This commit is contained in:
parent
a9dbb023d7
commit
889de35b99
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ namespace MWWorld
|
||||||
const ESM::Cell* cell = nullptr;
|
const ESM::Cell* cell = nullptr;
|
||||||
for (const ESM::Cell* sharedCell : mSharedExt)
|
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)
|
if (cell == nullptr || (sharedCell->mData.mX > cell->mData.mX)
|
||||||
|| (sharedCell->mData.mX == cell->mData.mX && sharedCell->mData.mY > cell->mData.mY))
|
|| (sharedCell->mData.mX == cell->mData.mX && sharedCell->mData.mY > cell->mData.mY))
|
||||||
|
|
Loading…
Reference in a new issue