mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 23:11:36 +00:00
Merge branch 'admirable' into 'master'
Cap temp disposition change properly See merge request OpenMW/openmw!1459
This commit is contained in:
commit
f184201415
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