aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-24 14:40:51 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-24 14:40:51 +0100
commitf4c2bd13a0b2399e1b5d64bbf5a565e0ffb7013a (patch)
tree65bb745700b6e53de8b672843bf39c13d221519d /FICS
parentd7b993626c01c95a518c2484fe2a7cb4d080a269 (diff)
Fixed dead assignment
Diffstat (limited to 'FICS')
-rw-r--r--FICS/movecheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/movecheck.c b/FICS/movecheck.c
index 8b2f773..ed2d8dd 100644
--- a/FICS/movecheck.c
+++ b/FICS/movecheck.c
@@ -947,7 +947,7 @@ execute_move(game_state_t *gs, move_t *mt, int check_game_status)
if (mt->fromFile == ALG_DROP) {
movedPiece = mt->fromRank;
- tookPiece = NOPIECE;
+// tookPiece = NOPIECE;
gs->holding[gs->onMove == WHITE ? 0 : 1][movedPiece-1]--;
gs->board[mt->toFile][mt->toRank] = (movedPiece | gs->onMove);