forked from teamnwah/openmw-tes3coop
fixed broken remote member variable access
This commit is contained in:
parent
93d4743012
commit
388735046f
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ namespace MWScript
|
||||||
{
|
{
|
||||||
const MWWorld::Ptr ptr = getReference (id, false);
|
const MWWorld::Ptr ptr = getReference (id, false);
|
||||||
|
|
||||||
std::string id = MWWorld::Class::get (ptr).getScript (ptr);
|
id = MWWorld::Class::get (ptr).getScript (ptr);
|
||||||
|
|
||||||
ptr.getRefData().setLocals (
|
ptr.getRefData().setLocals (
|
||||||
*MWBase::Environment::get().getWorld()->getStore().get<ESM::Script>().find (id));
|
*MWBase::Environment::get().getWorld()->getStore().get<ESM::Script>().find (id));
|
||||||
|
@ -86,7 +86,7 @@ namespace MWScript
|
||||||
{
|
{
|
||||||
const MWWorld::Ptr ptr = getReference (id, false);
|
const MWWorld::Ptr ptr = getReference (id, false);
|
||||||
|
|
||||||
std::string id = MWWorld::Class::get (ptr).getScript (ptr);
|
id = MWWorld::Class::get (ptr).getScript (ptr);
|
||||||
|
|
||||||
ptr.getRefData().setLocals (
|
ptr.getRefData().setLocals (
|
||||||
*MWBase::Environment::get().getWorld()->getStore().get<ESM::Script>().find (id));
|
*MWBase::Environment::get().getWorld()->getStore().get<ESM::Script>().find (id));
|
||||||
|
|
Loading…
Reference in a new issue