mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 17:15:34 +00:00
fixed a bug with dropping items on the ground
This commit is contained in:
parent
5a43fe3e5f
commit
0f811edb47
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ void HUD::onWorldClicked(MyGUI::Widget* _sender)
|
|||
MWBase::Environment::get().getSoundManager()->playSound (sound, 1.0, 1.0);
|
||||
|
||||
// remove object from the container it was coming from
|
||||
object.getRefData().setCount(0);
|
||||
object.getRefData().setCount(object.getRefData().getCount() - mDragAndDrop->mDraggedCount);
|
||||
mDragAndDrop->mDraggedFrom->notifyContentChanged();
|
||||
|
||||
mDragAndDrop->mIsOnDragAndDrop = false;
|
||||
|
|
Loading…
Reference in a new issue