From 889de35b99831d4981242aa19d2eae764dce9575 Mon Sep 17 00:00:00 2001 From: fteppe Date: Mon, 23 Jan 2023 22:49:01 +0100 Subject: [PATCH] fix coc search extbyname --- apps/openmw/mwworld/store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/store.cpp b/apps/openmw/mwworld/store.cpp index dbc6b31f18..fb3774bcbf 100644 --- a/apps/openmw/mwworld/store.cpp +++ b/apps/openmw/mwworld/store.cpp @@ -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))