fixed diagonal movement destination
This commit is contained in:
parent
8516eab043
commit
1210db5d37
@ -40,7 +40,7 @@ public class MovementDiagonal extends Movement {
|
||||
state.setStatus(MovementState.MovementStatus.SUCCESS);
|
||||
return state;
|
||||
}
|
||||
moveTowards(positionsToBreak[0]);
|
||||
moveTowards(dest);
|
||||
return state;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user