mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 13:23:52 +00:00
Fix fatigue not being set to its maximum value when player is rebuilt
This commit is contained in:
parent
ff1d908af4
commit
8bbfba3f43
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ namespace MWMechanics
|
||||||
// forced update and current value adjustments
|
// forced update and current value adjustments
|
||||||
mActors.updateActor (ptr, 0);
|
mActors.updateActor (ptr, 0);
|
||||||
|
|
||||||
for (int i=0; i<2; ++i)
|
for (int i=0; i<3; ++i)
|
||||||
{
|
{
|
||||||
DynamicStat<float> stat = creatureStats.getDynamic (i);
|
DynamicStat<float> stat = creatureStats.getDynamic (i);
|
||||||
stat.setCurrent (stat.getModified());
|
stat.setCurrent (stat.getModified());
|
||||||
|
|
Loading…
Reference in a new issue