Fix promotion of Pawn-like Lance
authorH.G. Muller <h.g.muller@hccnet.nl>
Mon, 3 Jan 2011 11:08:19 +0000 (12:08 +0100)
committerArun Persaud <arun@nubati.net>
Tue, 11 Jan 2011 05:22:03 +0000 (21:22 -0800)
commitc550c243e90e48b901f25cd0a609cfd6b8f2e326
treee8391bfffc9acddb4a012f118ba12c82ec2be7a6
parent30c1dcad0772e901bc944d3d7cf17db4f2a10fa0
Fix promotion of Pawn-like Lance

In variants where the Lance is used to represent an unorthodox Pawn, it
must promote when it reaches last rank. With legality testing on,
however, the promoChar was ignored in ApplyMove in this case. The
promotion suffix also was not appended in SAN moves.
backend.c
moves.c