Bugfix legality null move in parsing with -testLegality off
authorH.G. Muller <h.g.muller@hccnet.nl>
Fri, 8 Jan 2010 08:21:04 +0000 (09:21 +0100)
committerArun Persaud <arun@nubati.net>
Wed, 13 Jan 2010 03:31:12 +0000 (19:31 -0800)
commit941d11f411a4d4c0f6edcc1a25010b8a60dad052
treec9edbf35f07363e474c511a5cff0489efa4c243b
parentc965e00beca4263e37877bb51b160ffa9e1edf06
Bugfix legality null move in parsing with -testLegality off

The pointers were compared, in stead of the values.
Also in stead of rejecting null moves with legality testing off, it rejected moves on the main diagonal.
backend.c