aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 1463a8ec877..5461857a084 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -18615,7 +18615,7 @@ void Player::_resetAllPetSpells()
CreatureFamilyEntry const *pet_family = sCreatureFamilyStore.LookupEntry(ci->family);
if (!pet_family)
sLog.outError("Unknown pet (id %d) type saved in character_pet!", petId);
- if(pet_family && pet_family->petTalentType <= 0)
+ if(pet_family && pet_family->petTalentType >= 0)
{
uint32 points = (level >= 20) ? ((level - 16) / 4) : 0;
CharacterDatabase.PExecute("DELETE FROM pet_spell WHERE guid = '%u'", petId);