mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Remove no longer used parameter
This commit is contained in:
parent
286e4bb98f
commit
0d63d75bb0
@ -23,7 +23,7 @@ namespace
|
|||||||
{
|
{
|
||||||
|
|
||||||
//chooses an attack depending on probability to avoid uniformity
|
//chooses an attack depending on probability to avoid uniformity
|
||||||
std::string chooseBestAttack(const ESM::Weapon* weapon, MWMechanics::Movement &movement);
|
std::string chooseBestAttack(const ESM::Weapon* weapon);
|
||||||
|
|
||||||
osg::Vec3f AimDirToMovingTarget(const MWWorld::Ptr& actor, const MWWorld::Ptr& target, const osg::Vec3f& vLastTargetPos,
|
osg::Vec3f AimDirToMovingTarget(const MWWorld::Ptr& actor, const MWWorld::Ptr& target, const osg::Vec3f& vLastTargetPos,
|
||||||
float duration, int weapType, float strength);
|
float duration, int weapType, float strength);
|
||||||
@ -630,7 +630,7 @@ namespace MWMechanics
|
|||||||
characterController.setAttackingOrSpell(true);
|
characterController.setAttackingOrSpell(true);
|
||||||
|
|
||||||
if (!distantCombat)
|
if (!distantCombat)
|
||||||
characterController.setAIAttackType(chooseBestAttack(weapon, mMovement));
|
characterController.setAIAttackType(chooseBestAttack(weapon));
|
||||||
|
|
||||||
mStrength = Misc::Rng::rollClosedProbability();
|
mStrength = Misc::Rng::rollClosedProbability();
|
||||||
|
|
||||||
@ -678,7 +678,7 @@ namespace MWMechanics
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
std::string chooseBestAttack(const ESM::Weapon* weapon, MWMechanics::Movement &movement)
|
std::string chooseBestAttack(const ESM::Weapon* weapon)
|
||||||
{
|
{
|
||||||
std::string attackType;
|
std::string attackType;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user