[Client] Fix skill updates for LocalPlayer partially broken by 78441c769a

0.6.3
David Cernat 7 years ago
parent 02eef933fd
commit 608dcbafe6

@ -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…
Cancel
Save