mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
"Always best attack" should only affect the player
This commit is contained in:
parent
d0c6ecd03a
commit
7820ea5806
@ -691,7 +691,8 @@ bool CharacterController::updateWeaponState()
|
||||
mAttackType = "shoot";
|
||||
else
|
||||
{
|
||||
if(isWeapon && Settings::Manager::getBool("best attack", "Game"))
|
||||
if(isWeapon && mPtr.getRefData().getHandle() == "player" &&
|
||||
Settings::Manager::getBool("best attack", "Game"))
|
||||
mAttackType = getBestAttack(weapon->get<ESM::Weapon>()->mBase);
|
||||
else
|
||||
determineAttackType();
|
||||
|
Loading…
x
Reference in New Issue
Block a user