From 35e41b901bd04435f408b9ecce48c03b989329e8 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 25 Aug 2014 14:42:57 +0200 Subject: [PATCH] Fix size of epVictim array This has to be 9, as element 0 is used as a flag when a Demon burns its environment. --- hachu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.0.4