mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
Cap temp disposition change properly
This commit is contained in:
parent
2dd780b4a3
commit
99bfe024ef
@ -718,7 +718,7 @@ namespace MWMechanics
|
||||
if (currentDisposition + tempChange < 0)
|
||||
{
|
||||
cappedDispositionChange = -currentDisposition;
|
||||
tempChange = 0;
|
||||
tempChange = cappedDispositionChange;
|
||||
}
|
||||
|
||||
permChange = floor(cappedDispositionChange / fPerTempMult);
|
||||
|
Loading…
x
Reference in New Issue
Block a user