From 485fc2b2b70d4b41d38398a42295f81efc32b16b Mon Sep 17 00:00:00 2001 From: KimLS Date: Sat, 13 Jul 2013 13:53:13 -0700 Subject: [PATCH] Fix for bot compile --- zone/bot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 6a3a16d7e..aa16aca9b 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -3337,7 +3337,7 @@ void Bot::DoMeleeSkillAttackDmg(Mob* other, uint16 weapon_damage, SkillType skil ApplyMeleeDamageBonus(skillinuse, damage); damage += other->GetAdditionalDamage(this, 0, true, skillinuse); damage += (itembonuses.HeroicSTR / 10) + (damage * other->GetSkillDmgTaken(skillinuse) / 100) + GetSkillDmgAmt(skillinuse); - TryCriticalHit(other, skillinuse, damage, opts); + TryCriticalHit(other, skillinuse, damage, nullptr); } } @@ -4124,7 +4124,7 @@ void Bot::PetAIProcess() { //aa_chance += botPet->GetOwner()->GetAA(aaCompanionsAlacrity) * 3; if (MakeRandomInt(1, 100) < aa_chance) - Flurry(); + Flurry(nullptr); } // Ok now, let's check pet's offhand.