From: Benjamin Auder Date: Tue, 31 Mar 2020 01:17:43 +0000 (+0200) Subject: Fix CC queen attacks X-Git-Url: https://git.auder.net/js/current/app_dev.php/doc/html/Rlogo.svg?a=commitdiff_plain;h=81a0b2a9c4ad66bf3243f89cc1f3c12cf016c4b8;p=vchess.git Fix CC queen attacks --- diff --git a/client/src/variants/Colorbound.js b/client/src/variants/Colorbound.js index c3d59911..55d89cbf 100644 --- a/client/src/variants/Colorbound.js +++ b/client/src/variants/Colorbound.js @@ -315,7 +315,7 @@ export class ColorboundRules extends ChessRules { return ( this.isAttackedBySlideNJump(sq, color, V.C_QUEEN, V.steps[V.BISHOP]) || this.isAttackedBySlideNJump( - sq, color, V.C_ROOK, V.steps[V.KNIGHT], "oneStep") + sq, color, V.C_QUEEN, V.steps[V.KNIGHT], "oneStep") ); }