Merge branch 'master' into aa

This commit is contained in:
Michael Cook (mackal)
2015-06-19 21:44:58 -04:00
7 changed files with 3177 additions and 5841 deletions
+1 -1
View File
@@ -4248,7 +4248,7 @@ void Mob::TryCriticalHit(Mob *defender, uint16 skill, int32 &damage, ExtraAttack
}
#ifdef BOTS
if (this->IsPet() && this->GetOwner()->IsBot()) {
if (this->IsPet() && this->GetOwner() && this->GetOwner()->IsBot()) {
this->TryPetCriticalHit(defender,skill,damage);
return;
}