mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04:00
[Client] Fix skill updates for LocalPlayer partially broken by 78441c769a23c23b98deca1725d3ccfc0ced7f75
This commit is contained in:
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…
x
Reference in New Issue
Block a user