mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 00:35:23 +00:00
Don't attempt to change disposition for creatures
This commit is contained in:
parent
3db299f1b2
commit
224f288359
@ -318,7 +318,8 @@ namespace MWGui
|
||||
messageBox("#{sNotifyMessage9}");
|
||||
|
||||
int iBarterFailDisposition = gmst.find("iBarterFailDisposition")->getInt();
|
||||
MWBase::Environment::get().getDialogueManager()->applyDispositionChange(iBarterFailDisposition);
|
||||
if (mPtr.getClass().isNpc())
|
||||
MWBase::Environment::get().getDialogueManager()->applyDispositionChange(iBarterFailDisposition);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -327,7 +328,8 @@ namespace MWGui
|
||||
}
|
||||
|
||||
int iBarterSuccessDisposition = gmst.find("iBarterSuccessDisposition")->getInt();
|
||||
MWBase::Environment::get().getDialogueManager()->applyDispositionChange(iBarterSuccessDisposition);
|
||||
if (mPtr.getClass().isNpc())
|
||||
MWBase::Environment::get().getDialogueManager()->applyDispositionChange(iBarterSuccessDisposition);
|
||||
|
||||
// make the item transfer
|
||||
mTradeModel->transferItems();
|
||||
|
Loading…
x
Reference in New Issue
Block a user