mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-18 07:16:39 +00:00
Play the item's down sound when an item quick key is assigned
This commit is contained in:
parent
53feb29a5b
commit
29177bccb8
1 changed files with 2 additions and 0 deletions
|
@ -246,6 +246,8 @@ namespace MWGui
|
||||||
|
|
||||||
if (mItemSelectionDialog)
|
if (mItemSelectionDialog)
|
||||||
mItemSelectionDialog->setVisible(false);
|
mItemSelectionDialog->setVisible(false);
|
||||||
|
|
||||||
|
MWBase::Environment::get().getWindowManager()->playSound(item.getClass().getDownSoundId(item));
|
||||||
}
|
}
|
||||||
|
|
||||||
void QuickKeysMenu::onAssignItemCancel()
|
void QuickKeysMenu::onAssignItemCancel()
|
||||||
|
|
Loading…
Reference in a new issue