diff options
-rw-r--r-- | src/board/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/board/mod.rs b/src/board/mod.rs index e21aaf1..d8166c3 100644 --- a/src/board/mod.rs +++ b/src/board/mod.rs @@ -299,6 +299,7 @@ impl Board { match rook_square.file() { 0 => { let castle_line = [ + king_home_position, king_home_position.west_one(), king_home_position.west_one().west_one(), ]; @@ -316,6 +317,7 @@ impl Board { }, 7 => { let castle_line = [ + king_home_position, king_home_position.east_one(), king_home_position.east_one().east_one(), ]; |