Fix race condition in holding command
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 29 Feb 2020 22:46:01 +0000 (23:46 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 29 Feb 2020 22:46:01 +0000 (23:46 +0100)
commit16ca80a9ad38bfbcfba667c64e610bdf6aecd4ab
treeedd5eea248d9af0361f7914bea283048e29ab6d2
parentee79e7f644f8cee5d01673c0db665d52194469be
Fix race condition in holding command

Prevent race conditions in bughouse by updating the holdings
with the captured piece instead of completely overriding them,
given that the GUI provides this optional information.

Closes #73.
src/xboard.cpp