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;
}