mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04: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
|
// 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…
x
Reference in New Issue
Block a user