mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 18:59:57 +00:00
Cap temp disposition change properly
This commit is contained in:
parent
2dd780b4a3
commit
99bfe024ef
1 changed files with 1 additions and 1 deletions
|
@ -718,7 +718,7 @@ namespace MWMechanics
|
||||||
if (currentDisposition + tempChange < 0)
|
if (currentDisposition + tempChange < 0)
|
||||||
{
|
{
|
||||||
cappedDispositionChange = -currentDisposition;
|
cappedDispositionChange = -currentDisposition;
|
||||||
tempChange = 0;
|
tempChange = cappedDispositionChange;
|
||||||
}
|
}
|
||||||
|
|
||||||
permChange = floor(cappedDispositionChange / fPerTempMult);
|
permChange = floor(cappedDispositionChange / fPerTempMult);
|
||||||
|
|
Loading…
Reference in a new issue