Fix Shatranj game-end messages
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 16 Jan 2010 13:09:58 +0000 (14:09 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 16 Jan 2010 13:09:58 +0000 (14:09 +0100)
commitfe7f9a6e90036f2d656a1d3cc4ef197748ef2d75
tree841a664793d31f1434387e95fba41d052d6b4233
parente6b26c33ce3f8b0541e6998bf462c322ffa81cfa
Fix Shatranj game-end messages

Because stalemate was tested before the conditionally included shatranj
bare-king code, it was not effective. Furthermore, the stalemate code
was still claiming a draw. Now ShaMax has its own stalemate code, put
after the bare-king test.
fairymax.c