mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-03 17:54:06 +00:00
Fix GetPcCell bug
This commit is contained in:
parent
ea21d8fec3
commit
2e6e0fd0a0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user