one more mismatch fixed

actorid
mrcheko 11 years ago
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…
Cancel
Save