forked from mirror/openmw-tes3mp
[Client] Fix skill updates for LocalPlayer partially broken by 78441c769a
This commit is contained in:
parent
02eef933fd
commit
608dcbafe6
1 changed files with 1 additions and 0 deletions
|
@ -280,6 +280,7 @@ void LocalPlayer::updateSkills(bool forceUpdate)
|
||||||
{
|
{
|
||||||
// Update a skill if its base value has changed at all or its progress has changed enough
|
// Update a skill if its base value has changed at all or its progress has changed enough
|
||||||
if (ptrNpcStats.getSkill(i).getBase() != npcStats.mSkills[i].mBase ||
|
if (ptrNpcStats.getSkill(i).getBase() != npcStats.mSkills[i].mBase ||
|
||||||
|
ptrNpcStats.getSkill(i).getModifier() != npcStats.mSkills[i].mMod ||
|
||||||
ptrNpcStats.getSkill(i).getProgress() != npcStats.mSkills[i].mProgress ||
|
ptrNpcStats.getSkill(i).getProgress() != npcStats.mSkills[i].mProgress ||
|
||||||
forceUpdate)
|
forceUpdate)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue