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

+1 -1
View File
@@ -38,7 +38,7 @@ void ObjectGridEvacuator::Visit(CreatureMapType &m)
Creature* c = iter->getSource();
++iter;
ASSERT(!c->isPet() && "ObjectGridRespawnMover must not be called for pets");
ASSERT(!c->IsPet() && "ObjectGridRespawnMover must not be called for pets");
c->GetMap()->CreatureRespawnRelocation(c, true);
}
}