From 7df8273d717d71187ecb2774d3e9b0863fa8166b Mon Sep 17 00:00:00 2001 From: mrcheko Date: Fri, 17 Jan 2014 20:01:15 +0200 Subject: [PATCH] fix for everybody --- apps/openmw/mwmechanics/aicombat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwmechanics/aicombat.cpp b/apps/openmw/mwmechanics/aicombat.cpp index 4ab358a528..0f3536f0a9 100644 --- a/apps/openmw/mwmechanics/aicombat.cpp +++ b/apps/openmw/mwmechanics/aicombat.cpp @@ -358,7 +358,7 @@ namespace MWMechanics return new AiCombat(*this); } - void MWMechanics::determineAttackType(const MWWorld::Ptr& actor, MWMechanics::Movement &movement) + void determineAttackType(const MWWorld::Ptr& actor, MWMechanics::Movement &movement) { if (movement.mPosition[0] && !movement.mPosition[1]) //sideway actor.getClass().getCreatureStats(actor).setAttackType(MWMechanics::CreatureStats::AT_Slash); @@ -368,7 +368,7 @@ namespace MWMechanics actor.getClass().getCreatureStats(actor).setAttackType(MWMechanics::CreatureStats::AT_Chop); } - void MWMechanics::chooseBestAttack(const ESM::Weapon* weapon, MWMechanics::Movement &movement) + void chooseBestAttack(const ESM::Weapon* weapon, MWMechanics::Movement &movement) { //the more damage attackType deals the more probability it has