fixed diagonal movement destination

This commit is contained in:
Leijurv 2018-08-07 08:01:17 -07:00
parent 8516eab043
commit 1210db5d37
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -40,7 +40,7 @@ public class MovementDiagonal extends Movement {
state.setStatus(MovementState.MovementStatus.SUCCESS);
return state;
}
moveTowards(positionsToBreak[0]);
moveTowards(dest);
return state;
}