diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-24 14:40:51 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-24 14:40:51 +0100 |
commit | f4c2bd13a0b2399e1b5d64bbf5a565e0ffb7013a (patch) | |
tree | 65bb745700b6e53de8b672843bf39c13d221519d /FICS | |
parent | d7b993626c01c95a518c2484fe2a7cb4d080a269 (diff) |
Fixed dead assignment
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/movecheck.c | 2 |
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); |