*Fix a typo

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-23 21:02:29 +02:00
parent 066af701d3
commit f405468cc9
+1 -1
View File
@@ -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);