From: H.G.Muller <hgm@hgm-xboard.(none)>
Date: Wed, 5 Mar 2014 09:53:46 +0000 (+0100)
Subject: Fix typeMask
X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=refs%2Fheads%2Fmini;p=gnushogi.git

Fix typeMask
---

diff --git a/gnushogi/gnushogi.h b/gnushogi/gnushogi.h
index c993804..14cc51e 100644
--- a/gnushogi/gnushogi.h
+++ b/gnushogi/gnushogi.h
@@ -303,8 +303,8 @@ enum {
     T_PROOK   = 1<<prook,
     T_KING    = 1<<king
 #ifdef MINISHOGI
-    T_LANCE   = 1<<king+1,
-    T_KNIGHT  = 1<<king+2,
+    ,T_LANCE   = 1<<king+1,
+    T_KNIGHT  = 1<<king+2
 #endif
 };
 
@@ -716,6 +716,7 @@ extern char savefile[], listfile[];
 extern short TrPnt[];
 extern small_short board[], color[];
 extern const small_short sweep[NO_PIECES];
+extern const int typeMask[NO_PIECES];
 extern small_short PieceList[2][NO_SQUARES], PawnCnt[2][NO_COLS];
 extern small_short Captured[2][NO_PIECES];