forked from mirror/openmw-tes3mp
notify the user when the merchant doesn't accept the offer
This commit is contained in:
parent
0a883f4492
commit
4634227f1c
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ namespace MWGui
|
||||||
int roll = std::rand()%100 + 1;
|
int roll = std::rand()%100 + 1;
|
||||||
if(roll > x) //trade refused
|
if(roll > x) //trade refused
|
||||||
{
|
{
|
||||||
|
MWBase::Environment::get().getWindowManager()->
|
||||||
|
messageBox("#{sNotifyMessage9}", std::vector<std::string>());
|
||||||
/// \todo adjust npc temporary disposition by iBarterSuccessDisposition or iBarterFailDisposition
|
/// \todo adjust npc temporary disposition by iBarterSuccessDisposition or iBarterFailDisposition
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue