From 2e6e0fd0a05363bba558aaf0b5d9bc9b2001e9dc Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 22 Jan 2014 14:45:36 +0100 Subject: [PATCH] Fix GetPcCell bug --- apps/openmw/mwscript/cellextensions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwscript/cellextensions.cpp b/apps/openmw/mwscript/cellextensions.cpp index 5de95d1d4..1834c5651 100644 --- a/apps/openmw/mwscript/cellextensions.cpp +++ b/apps/openmw/mwscript/cellextensions.cpp @@ -115,6 +115,7 @@ namespace MWScript current = region->mName; } + Misc::StringUtils::toLower(current); bool match = current.length()>=name.length() && current.substr (0, name.length())==name;