1
0
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:
scrawl 2013-04-07 16:18:40 +02:00
parent ff1d908af4
commit 8bbfba3f43

View File

@ -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());