HASH: 编译通过链接仍失败

This commit is contained in:
CalciteM Team 2019-07-13 21:39:06 +08:00
parent a3301d19d0
commit 0421fa0494
1 changed files with 3 additions and 3 deletions

View File

@ -402,8 +402,8 @@ bool NineChess::setContext(const struct Rule *rule, int maxStepsLedToDraw, int m
} else {
memcpy(context.board, board, sizeof(context.board));
#ifdef HASH_MAP_ENABLE
context.hash = hash;
context.hashCheckCode = hashCheckCode;
//context.hash = hash;
//context.hashCheckCode = hashCheckCode;
#endif
}
@ -511,7 +511,7 @@ void NineChess::getContext(struct Rule &rule, int &step, int &flags,
nPiecesInHand_2 = context.nPiecesInHand_2;
num_NeedRemove = context.nPiecesNeedRemove;
#ifdef HASH_MAP_ENABLE
hash = context.hash;
//hash = context.hash;
#endif
}