1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 12:40:04 +00:00

another case fix (remote member access again)

This commit is contained in:
Marc Zinnschlag 2014-02-12 15:22:17 +01:00
parent a85d3c7dcb
commit b3412b7eec

View File

@ -52,7 +52,8 @@ namespace MWScript
char type = ' ';
if (!script.empty())
type = MWBase::Environment::get().getScriptManager()->getLocals (script).getType (name);
type = MWBase::Environment::get().getScriptManager()->getLocals (script).getType (
Misc::StringUtils::lowerCase (name));
return std::make_pair (type, reference);
}