Skip to content

Commit d47e396

Browse files
committed
Berserk 12.1
Bench: 2806427
1 parent 94d48b0 commit d47e396

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ void UndoMove(Move move, Board* board) {
484484
FlipBits(OccBB(board->stm), to, from);
485485
FlipBits(OccBB(BOTH), to, from);
486486

487-
board->squares[from] = piece;
488487
board->squares[to] = NO_PIECE;
488+
board->squares[from] = piece;
489489

490490
if (IsCas(move)) {
491491
int rookFrom = board->cr[CASTLING_ROOK[to]];

src/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
EXE = berserk
55
SRC = *.c nn/*.c pyrrhic/tbprobe.c
66
CC = gcc
7-
VERSION = 12
7+
VERSION = 12.1
88
MAIN_NETWORK = networks/berserk-fb675dad41b4.nn
99
EVALFILE = $(MAIN_NETWORK)
1010
DEFS = -DVERSION=\"$(VERSION)\" -DEVALFILE=\"$(EVALFILE)\" -DNDEBUG

0 commit comments

Comments
 (0)