From f405468cc96200dc29a3fdb539fbb167f4c7a234 Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 23 Apr 2009 21:02:29 +0200 Subject: *Fix a typo --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3