mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 12:53:51 +00:00
Allow activation of inventory items
This commit is contained in:
parent
74ce9ffb85
commit
bd45449f9d
2 changed files with 2 additions and 1 deletions
|
@ -118,6 +118,7 @@
|
||||||
Bug #5923: Clicking on empty spaces between journal entries might show random topics
|
Bug #5923: Clicking on empty spaces between journal entries might show random topics
|
||||||
Bug #5934: AddItem command doesn't accept negative values
|
Bug #5934: AddItem command doesn't accept negative values
|
||||||
Bug #5975: NIF controllers from sheath meshes are used
|
Bug #5975: NIF controllers from sheath meshes are used
|
||||||
|
Bug #5991: Activate should always be allowed for inventory items
|
||||||
Bug #5995: NiUVController doesn't calculate the UV offset properly
|
Bug #5995: NiUVController doesn't calculate the UV offset properly
|
||||||
Feature #390: 3rd person look "over the shoulder"
|
Feature #390: 3rd person look "over the shoulder"
|
||||||
Feature #832: OpenMW-CS: Handle deleted references
|
Feature #832: OpenMW-CS: Handle deleted references
|
||||||
|
|
|
@ -278,7 +278,7 @@ namespace MWScript
|
||||||
|
|
||||||
MWWorld::Ptr ptr = R()(runtime);
|
MWWorld::Ptr ptr = R()(runtime);
|
||||||
|
|
||||||
if (ptr.getRefData().activateByScript())
|
if (ptr.getRefData().activateByScript() || ptr.getContainerStore())
|
||||||
context.executeActivation(ptr, MWMechanics::getPlayer());
|
context.executeActivation(ptr, MWMechanics::getPlayer());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue