projects
/
hachu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ea4f11b
)
Fix size of epVictim array
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Mon, 25 Aug 2014 12:42:57 +0000 (14:42 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Mon, 25 Aug 2014 12:42:57 +0000 (14:42 +0200)
This has to be 9, as element 0 is used as a flag when a Demon burns
its environment.
hachu.c
patch
|
blob
|
history
diff --git
a/hachu.c
b/hachu.c
index
2401644
..
52355e8
100644
(file)
--- a/
hachu.c
+++ b/
hachu.c
@@
-153,7
+153,7
@@
typedef struct {
} PieceDesc;
\r
\r
typedef struct {
\r
- int from, to, piece, victim, new, booty, epSquare, epVictim[8], ep2Square, revMoveCount;
\r
+ int from, to, piece, victim, new, booty, epSquare, epVictim[9], ep2Square, revMoveCount;
\r
int savKeyL, savKeyH, gain, loss, filling, saveDelta;
\r
char fireMask;
\r
} UndoInfo;
\r