mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-06 20:29:10 +01:00
DroidFish: Indentation fix.
This commit is contained in:
parent
0cb50f4e26
commit
55a328134c
|
@ -281,7 +281,7 @@ public class MoveGen {
|
|||
* Generate all possible pawn moves from (x0,y0) to (x1,y1), taking pawn promotions into account.
|
||||
*/
|
||||
private final void addPawnMoves(ArrayList<Move> moveList, int sq0, int sq1) {
|
||||
if (sq1 >= 56) { // White promotion
|
||||
if (sq1 >= 56) { // White promotion
|
||||
moveList.add(getMoveObj(sq0, sq1, Piece.WQUEEN));
|
||||
moveList.add(getMoveObj(sq0, sq1, Piece.WKNIGHT));
|
||||
moveList.add(getMoveObj(sq0, sq1, Piece.WROOK));
|
||||
|
|
Loading…
Reference in New Issue
Block a user