Jump to content

Recommended Posts

  • 40 years later...
Posted

Hi,

after commit [s0361], a small typo in code prevent players to unlearn their pets talent. Here's the correction :

diff --git a/src/game/PetHandler.cpp b/src/game/PetHandler.cpp
index 8d59705..d1887a8 100644
--- a/src/game/PetHandler.cpp
+++ b/src/game/PetHandler.cpp
@@ -569,7 +569,7 @@ void WorldSession::HandlePetUnlearnOpcode(WorldPacket& recvPacket)
        return;
    }

-    if (pet->getPetType() != HUNTER_PET || pet->m_spells.size())
+    if (pet->getPetType() != HUNTER_PET || pet->m_spells.size() <= 1)
        return;

    CharmInfo *charmInfo = pet->GetCharmInfo();

  • 10 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use