1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-17 04:16:34 +00:00

Play the item's down sound when an item quick key is assigned

This commit is contained in:
Alexei Kotov 2025-02-21 00:56:09 +03:00
parent 53feb29a5b
commit 29177bccb8

View file

@ -246,6 +246,8 @@ namespace MWGui
if (mItemSelectionDialog)
mItemSelectionDialog->setVisible(false);
MWBase::Environment::get().getWindowManager()->playSound(item.getClass().getDownSoundId(item));
}
void QuickKeysMenu::onAssignItemCancel()