mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:45:31 +00:00
Merged pull request #1883
This commit is contained in:
commit
c2c595407c
2 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,7 @@
|
|||
Bug #4576: Reset of idle animations when attack can not be started
|
||||
Bug #4591: Attack strength should be 0 if player did not hold the attack button
|
||||
Bug #4597: <> operator causes a compile error
|
||||
Bug #4604: Picking up gold from the ground only makes 1 grabbed
|
||||
Feature #1645: Casting effects from objects
|
||||
Feature #2606: Editor: Implemented (optional) case sensitive global search
|
||||
Feature #3083: Play animation when NPC is casting spell via script
|
||||
|
|
|
@ -681,6 +681,8 @@ namespace MWGui
|
|||
return;
|
||||
|
||||
int count = object.getRefData().getCount();
|
||||
if (object.getClass().isGold(object))
|
||||
count *= object.getClass().getValue(object);
|
||||
|
||||
MWWorld::Ptr player = MWMechanics::getPlayer();
|
||||
MWBase::Environment::get().getWorld()->breakInvisibility(player);
|
||||
|
|
Loading…
Reference in a new issue