Don't assume Knight to be always piece number 6
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 10 Apr 2018 15:53:45 +0000 (17:53 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 10 Apr 2018 16:16:43 +0000 (18:16 +0200)
commitc1236f2aabdbfee5326dc593ec01149d1d219ddb
tree16f753ef21f1017b81f316763bed43431a7e8667
parent29db067bd8cc5b56686bdd78c2a4092f1ea1c4a6
Don't assume Knight to be always piece number 6

To determine the number of ranks where dropping is not allowed,
(for pieces that have their drop-limitation flag set in lances[]),
we have to distinguish the Knight. This is now done by assuming that
any piece other than the first two (which are always Pawn and Lance,
even if this requires the Lance to be present as a dummy) is a Knight.
dropper.c