Feature #1233 Bribe gold in inventory - Corrected 1000 drake bribe

This commit is contained in:
Jeffrey Haines 2014-03-29 07:47:41 -04:00
parent ad9286a30f
commit 6b28c06b2c

View file

@ -76,7 +76,7 @@ namespace MWGui
else /*if (sender == mBribe1000Button)*/
{
player.getClass().getContainerStore(player).remove(MWWorld::ContainerStore::sGoldId, 1000, player);
mReceiver.getClass().getContainerStore(mReceiver).add(MWWorld::ContainerStore::sGoldId, 10000, mReceiver);
mReceiver.getClass().getContainerStore(mReceiver).add(MWWorld::ContainerStore::sGoldId, 1000, mReceiver);
type = MWBase::MechanicsManager::PT_Bribe1000;
}