Fix typeMask
[gnushogi.git] / gnushogi / gnushogi.h
index c993804..14cc51e 100644 (file)
@@ -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];