summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
630fda2)
When SEE piece values changed in
aaad48464b
of 9/12/2008 we forgot to update the value assigned in
case of captured king.
In that patch we changed the SEE piece values but without
proper testing. Probably it is a good idea to make some
tests with the old Glaurung values.
Bug spotted by Joona.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
if (pt == KING && stmAttackers)
{
assert(n < 32);
if (pt == KING && stmAttackers)
{
assert(n < 32);
+ swapList[n++] = QueenValueMidgame*10;
break;
}
} while (stmAttackers);
break;
}
} while (stmAttackers);