Fix selling success chance (Fixes #3802)

This commit is contained in:
MiroslavR 2017-03-25 15:20:37 +01:00
parent 97dbd07ed2
commit da6b28eb40

View file

@ -37,7 +37,7 @@ namespace MWMechanics
int b = std::abs(playerOffer);
int d = (buying)
? int(100 * (a - b) / a)
: int(100 * (b - a) / a);
: int(100 * (b - a) / b);
int clampedDisposition = MWBase::Environment::get().getMechanicsManager()->getDerivedDisposition(merchant);