forked from mirror/openmw-tes3mp
Allow modCurrent instructions to decrease below zero (Bug #1589)
This commit is contained in:
parent
2506c16bf5
commit
205e039a39
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ namespace MWScript
|
|||
MWMechanics::DynamicStat<float> stat (ptr.getClass().getCreatureStats (ptr)
|
||||
.getDynamic (mIndex));
|
||||
|
||||
stat.setCurrent (diff + current);
|
||||
stat.setCurrent (diff + current, true);
|
||||
|
||||
ptr.getClass().getCreatureStats (ptr).setDynamic (mIndex, stat);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue