From: H.G.Muller Date: Mon, 25 Aug 2014 12:42:57 +0000 (+0200) Subject: Fix size of epVictim array X-Git-Url: http://winboard.nl/cgi-bin?p=hachu.git;a=commitdiff_plain;h=35e41b901bd04435f408b9ecce48c03b989329e8 Fix size of epVictim array This has to be 9, as element 0 is used as a flag when a Demon burns its environment. --- diff --git a/hachu.c b/hachu.c index 2401644..52355e8 100644 --- a/hachu.c +++ b/hachu.c @@ -153,7 +153,7 @@ typedef struct { } PieceDesc; typedef struct { - int from, to, piece, victim, new, booty, epSquare, epVictim[8], ep2Square, revMoveCount; + int from, to, piece, victim, new, booty, epSquare, epVictim[9], ep2Square, revMoveCount; int savKeyL, savKeyH, gain, loss, filling, saveDelta; char fireMask; } UndoInfo;