mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
notify the user when the merchant doesn't accept the offer
This commit is contained in:
parent
0a883f4492
commit
4634227f1c
@ -218,6 +218,8 @@ namespace MWGui
|
||||
int roll = std::rand()%100 + 1;
|
||||
if(roll > x) //trade refused
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->
|
||||
messageBox("#{sNotifyMessage9}", std::vector<std::string>());
|
||||
/// \todo adjust npc temporary disposition by iBarterSuccessDisposition or iBarterFailDisposition
|
||||
return ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user