ref: ba0b9247668c22e10927c3918e3500a5ba0344a2
parent: 9bf1eefe5c7c7aaef02fe75372fcdc33843a9c8e
author: zamfofex <zamfofex@twdb.moe>
date: Sat Apr 6 11:37:33 EDT 2024
fix castling
--- a/chess.c
+++ b/chess.c
@@ -429,10 +429,10 @@
int x, y;
chess->white = 1;
- chess->castle.white_oo = 0;
- chess->castle.white_ooo = 0;
- chess->castle.black_oo = 0;
- chess->castle.black_ooo = 0;
+ chess->castle.white_oo = 1;
+ chess->castle.white_ooo = 1;
+ chess->castle.black_oo = 1;
+ chess->castle.black_ooo = 1;
chess->score = 0;
chess->passing = 0;
--
⑨