shithub: moonfish

Download patch

ref: ab5608b8428ded4b4d6906d349669893617188a7
parent: 1930aa1e25b969b5ff6d36ebac754fb999eabd09
author: zamfofex <zamfofex@twdb.moe>
date: Fri Dec 22 13:50:46 EST 2023

make small simplification

--- a/chess.c
+++ b/chess.c
@@ -531,7 +531,7 @@
 		x++;
 	}
 	
-	if (*fen++ == 'b') chess->white ^= 1;
+	if (*fen++ == 'b') chess->white = 0;
 	if (*fen++ != ' ') return 0;
 	
 	for (;;)
--