Core/SAI: Add check so npc will not send text to pet. Also updated isPet() to IsPet().

This commit is contained in:
Malcrom committed 2013-06-11 18:39:51 -02:30
1 parent 9ec22fffa0
commit 047608e7de
33 files changed
+134 -134

No files matched your search

+2 -2
View File
@@ -482,7 +482,7 @@ class spell_hun_pet_carrion_feeder : public SpellScriptLoader
bool Load()
{
if (!GetCaster()->isPet())
if (!GetCaster()->IsPet())
return false;
return true;
}
@@ -539,7 +539,7 @@ class spell_hun_pet_heart_of_the_phoenix : public SpellScriptLoader
bool Load()
{
if (!GetCaster()->isPet())
if (!GetCaster()->IsPet())
return false;
return true;
}