diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index b49f4e554..16a3d4441 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -97,15 +97,8 @@ void LocalPlayer::update() updateDeadState(); updateEquipment(); updateStatsDynamic(); - - // Only send attributes and skills if we are not a werewolf, or they will be - // overwritten by the werewolf ones - if (!isWerewolf) - { - updateAttributes(); - updateSkills(); - } - + updateAttributes(); + updateSkills(); updateLevel(); updateBounty(); } @@ -234,6 +227,10 @@ void LocalPlayer::updateStatsDynamic(bool forceUpdate) void LocalPlayer::updateAttributes(bool forceUpdate) { + // Only send attributes if we are not a werewolf, or they will be + // overwritten by the werewolf ones + if (isWerewolf) return; + MWWorld::Ptr ptrPlayer = getPlayerPtr(); const MWMechanics::NpcStats &ptrNpcStats = ptrPlayer.getClass().getNpcStats(ptrPlayer); bool attributesChanged = false; @@ -256,6 +253,10 @@ void LocalPlayer::updateAttributes(bool forceUpdate) void LocalPlayer::updateSkills(bool forceUpdate) { + // Only send skills if we are not a werewolf, or they will be + // overwritten by the werewolf ones + if (isWerewolf) return; + MWWorld::Ptr ptrPlayer = getPlayerPtr(); const MWMechanics::NpcStats &ptrNpcStats = ptrPlayer.getClass().getNpcStats(ptrPlayer);