1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

GetDisposition: return calculated disposition instead of base disposition

This commit is contained in:
Emanuel Guevel 2013-01-09 15:14:17 +01:00
parent ddcb742a00
commit 3e41a1118a

View file

@ -674,7 +674,7 @@ namespace MWScript
{
MWWorld::Ptr ptr = R()(runtime);
runtime.push (MWWorld::Class::get (ptr).getNpcStats (ptr).getBaseDisposition());
runtime.push (MWBase::Environment::get().getMechanicsManager()->getDerivedDisposition(ptr));
}
};