mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-14 01:19:59 +00:00
Fix fatigue not being set to its maximum value when player is rebuilt
This commit is contained in:
parent
ff1d908af4
commit
8bbfba3f43
@ -149,7 +149,7 @@ namespace MWMechanics
|
||||
// forced update and current value adjustments
|
||||
mActors.updateActor (ptr, 0);
|
||||
|
||||
for (int i=0; i<2; ++i)
|
||||
for (int i=0; i<3; ++i)
|
||||
{
|
||||
DynamicStat<float> stat = creatureStats.getDynamic (i);
|
||||
stat.setCurrent (stat.getModified());
|
||||
|
Loading…
x
Reference in New Issue
Block a user