mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-11 22:57:49 +01:00
DroidFish: Cosmetic change.
This commit is contained in:
parent
bc58767547
commit
cceb19c70d
|
@ -492,13 +492,13 @@ public class TextIO {
|
||||||
info.fromX = 4;
|
info.fromX = 4;
|
||||||
info.toX = 6;
|
info.toX = 6;
|
||||||
info.fromY = info.toY = wtm ? 0 : 7;
|
info.fromY = info.toY = wtm ? 0 : 7;
|
||||||
info.promPiece= Piece.EMPTY;
|
info.promPiece = Piece.EMPTY;
|
||||||
} else if (strMove.equals("O-O-O") || strMove.equals("0-0-0") || strMove.equals("o-o-o")) {
|
} else if (strMove.equals("O-O-O") || strMove.equals("0-0-0") || strMove.equals("o-o-o")) {
|
||||||
info.piece = wtm ? Piece.WKING : Piece.BKING;
|
info.piece = wtm ? Piece.WKING : Piece.BKING;
|
||||||
info.fromX = 4;
|
info.fromX = 4;
|
||||||
info.toX = 2;
|
info.toX = 2;
|
||||||
info.fromY = info.toY = wtm ? 0 : 7;
|
info.fromY = info.toY = wtm ? 0 : 7;
|
||||||
info.promPiece= Piece.EMPTY;
|
info.promPiece = Piece.EMPTY;
|
||||||
} else {
|
} else {
|
||||||
boolean atToSq = false;
|
boolean atToSq = false;
|
||||||
for (int i = 0; i < strMove.length(); i++) {
|
for (int i = 0; i < strMove.length(); i++) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user