mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
fixed a bug with dropping items on the ground
This commit is contained in:
parent
5a43fe3e5f
commit
0f811edb47
@ -280,7 +280,7 @@ void HUD::onWorldClicked(MyGUI::Widget* _sender)
|
|||||||
MWBase::Environment::get().getSoundManager()->playSound (sound, 1.0, 1.0);
|
MWBase::Environment::get().getSoundManager()->playSound (sound, 1.0, 1.0);
|
||||||
|
|
||||||
// remove object from the container it was coming from
|
// 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->mDraggedFrom->notifyContentChanged();
|
||||||
|
|
||||||
mDragAndDrop->mIsOnDragAndDrop = false;
|
mDragAndDrop->mIsOnDragAndDrop = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user