mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
one more mismatch fixed
This commit is contained in:
parent
46a4790cb1
commit
435bbdd530
@ -261,8 +261,8 @@ namespace MWMechanics
|
||||
//then start attacking
|
||||
float speed1 = cls.getSpeed(actor);
|
||||
float speed2 = mTarget.getClass().getSpeed(mTarget);
|
||||
if(actor.getClass().getMovementSettings(mTarget).mPosition[0] == 0
|
||||
&& actor.getClass().getMovementSettings(mTarget).mPosition[1] == 0)
|
||||
if(mTarget.getClass().getMovementSettings(mTarget).mPosition[0] == 0
|
||||
&& mTarget.getClass().getMovementSettings(mTarget).mPosition[1] == 0)
|
||||
speed2 = 0;
|
||||
|
||||
float s1 = distBetween - weapRange;
|
||||
|
Loading…
x
Reference in New Issue
Block a user