1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Play item sound when trying to sell a bound item, too.

This commit is contained in:
Rohit Nirmal 2014-03-20 22:22:31 -05:00
parent 688e03a9d2
commit e3a9daf921

View file

@ -171,6 +171,7 @@ namespace MWGui
if (item.mBase.getCellRef().mRefID.size() > 6
&& item.mBase.getCellRef().mRefID.substr(0,6) == "bound_")
{
MWBase::Environment::get().getSoundManager()->playSound (sound, 1.0, 1.0);
MWBase::Environment::get().getWindowManager()->messageBox("#{sBarterDialog12}");
return;
}