Fix diagonal moves Janggi in opponent Palace
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 8 Oct 2020 14:17:38 +0000 (16:17 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 8 Oct 2020 14:22:53 +0000 (16:22 +0200)
commita0f60e2cab71ed60f5329cc0f7fa4376fcd219db
tree6ee67edd2fb5a302867b69218e857c10320254f5
parent980e4fd2d4ededf43d0af01c5a477b8a0f42bee6
Fix diagonal moves Janggi in opponent Palace

The test for being in Palace should not refer to the Palace of your
own color, but to the Palace on your current board half. Also, Cannons
should not be able to jump over or capture each other inside the Palace.
moves.c