Skip to content

Commit

Permalink
Merge remote-tracking branch 'ddugovic/master' into ddugovic
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Apr 5, 2017
2 parents 8c044f3 + 7f8cb76 commit 1521347
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/position.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,10 @@ void Position::do_move(Move m, StateInfo& newSt, bool givesCheck) {
// Move the piece. The tricky Chess960 castling is handled earlier
#ifdef CRAZYHOUSE
if (type_of(m) == DROP)
{
drop_piece(pc, to);
st->materialKey ^= Zobrist::psq[pc][pieceCount[pc]-1];
}
else
#endif
if (type_of(m) != CASTLING)
Expand Down

0 comments on commit 1521347

Please sign in to comment.