From 816315058e96ce62cf137e7cc4716edf5afb7db1 Mon Sep 17 00:00:00 2001 From: H.G.Muller <hgm@hgm-xboard.(none)> Date: Wed, 5 Mar 2014 10:53:46 +0100 Subject: [PATCH] Fix typeMask --- gnushogi/gnushogi.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) 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]; -- 1.7.0.4