aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-23 21:02:29 +0200
committerQAston <none@none>2009-04-23 21:02:29 +0200
commitf405468cc96200dc29a3fdb539fbb167f4c7a234 (patch)
treeaa3c570e2ac80c15fbfb8821019b42b698bece5e /src
parent066af701d31d1fe19c0a86ebd4d29fdf3bc09c56 (diff)
*Fix a typo
--HG-- branch : trunk
Diffstat (limited to 'src')
-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);