summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-20 12:11:10 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-20 12:11:10 +0800
commit6976aea4703c91fbfe7fd6c3a6a1094ae98e2002 (patch)
treea4304fb922243842eacfcb6cd7c3f0939e23d904 /include
parentef982e5c13120616dbfb32552d74deba348c27a1 (diff)
downloadpttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.tar
pttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.tar.gz
pttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.tar.bz2
pttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.tar.lz
pttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.tar.xz
pttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.tar.zst
pttbbs-6976aea4703c91fbfe7fd6c3a6a1094ae98e2002.zip
Wrong winner on rule-violating step.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3066 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/chess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chess.h b/include/chess.h
index 19ac4f61..8a151ace 100644
--- a/include/chess.h
+++ b/include/chess.h
@@ -130,7 +130,7 @@ typedef struct ChessActions {
int (*select) (ChessInfo* info, rc_t location,
ChessGameResult* result);
void (*prepare_step)(ChessInfo* info, const void* step);
- int (*apply_step) (void* board, const void* step);
+ ChessGameResult (*apply_step) (void* board, const void* step);
void (*drawstep) (ChessInfo* info, const void* step);
/* ending */