projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix premature disappearence of Lion victims
[xboard.git]
/
moves.c
diff --git
a/moves.c
b/moves.c
index
4a097df
..
d1fa571
100644
(file)
--- a/
moves.c
+++ b/
moves.c
@@
-1685,7
+1685,7
@@
CheckTest (Board board, int flags, int rf, int ff, int rt, int ft, int enPassant
board[rf][ft] = captured;
board[rt][ft] = EmptySquare;
} else {
- if(saveKill >= 0) board[killY][killX] = trampled, killX = saveKill;
+ if(saveKill >= 0) board[killY][killX = saveKill] = trampled;
board[rt][ft] = captured;
}
board[EP_STATUS] = ep;