diff options
Diffstat (limited to 'include/chess.h')
-rw-r--r-- | include/chess.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/chess.h b/include/chess.h index 82b72a6e..766486aa 100644 --- a/include/chess.h +++ b/include/chess.h @@ -86,7 +86,7 @@ typedef struct ChessInfo { const ChessGameMode mode; const ChessUser user1; const ChessUser user2; - const char my; /* 我方顏色 */ + const char myturn; /* 我方顏色 */ char turn; char ipass, hepass; @@ -113,7 +113,7 @@ typedef struct ChessInfo { typedef struct ChessActions { /* initial */ void (*init_user) (const userec_t* rec, ChessUser* user); - void (*init_board) (const ChessInfo* info, void* board); + void (*init_board) (void* board); /* playing */ void (*drawline) (const ChessInfo* info, int line); |