Fix GetPcCell bug

actorid
scrawl 11 years ago
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…
Cancel
Save