mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 17:09:40 +00:00
Use Chop attack when walking diagonally (Fixes #1729)
This commit is contained in:
parent
e0e4cbbb41
commit
c5c822ecba
1 changed files with 2 additions and 2 deletions
|
@ -1674,9 +1674,9 @@ void CharacterController::determineAttackType()
|
|||
|
||||
if(mPtr.getClass().hasInventoryStore(mPtr))
|
||||
{
|
||||
if (move[1]) // forward-backward
|
||||
if (move[1] && !move[0]) // forward-backward
|
||||
mAttackType = "thrust";
|
||||
else if (move[0]) //sideway
|
||||
else if (move[0] && !move[1]) //sideway
|
||||
mAttackType = "slash";
|
||||
else
|
||||
mAttackType = "chop";
|
||||
|
|
Loading…
Reference in a new issue