From a978381e7b815a19fb56166a4e6dc5846afcec70 Mon Sep 17 00:00:00 2001 From: rektdie Date: Fri, 18 Apr 2025 10:12:42 +0200 Subject: [PATCH] bugfix in move.h | bench 1422551 --- source/move.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/move.h b/source/move.h index a2b36d0..d9407e4 100644 --- a/source/move.h +++ b/source/move.h @@ -107,13 +107,13 @@ public: promoPiece = 0; } else if (flags == bishopPromotion || flags == bishopPromoCapture) { - promoPiece = 0; + promoPiece = 1; } else if (flags == rookPromotion || flags == rookPromoCapture) { - promoPiece = 0; + promoPiece = 3; } else if (flags == queenPromotion || flags == queenPromoCapture) { - promoPiece = 0; + promoPiece = 4; } }