diff options
Diffstat (limited to 'src/poshash.c')
| -rw-r--r-- | src/poshash.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/poshash.c b/src/poshash.c index 19d10ab..d8b4fcd 100644 --- a/src/poshash.c +++ b/src/poshash.c @@ -185,28 +185,6 @@ GetTrappedPiece(POSITION *pos, ULONG uSide) return c; } -FLAG -SideCanStandPat(POSITION *pos, ULONG uSide) -{ - UINT64 u64Sig = PositionToSignatureIgnoringMove(pos); - ULONG uEntry = PositionSigToHashPosition(u64Sig); - POSITION_HASH_ENTRY *pHash = &(g_PositionHash[uEntry]); - FLAG fStand = TRUE; -#ifdef MP - ULONG uLock = HashPositionToLockNumber(uEntry); - LOCK_POSITION_HASH(uLock); -#endif - if (pHash->u64Sig == u64Sig) - { - fStand = ((pHash->cTrapped[uSide] == ILLEGAL_COOR) && - (pHash->uEnpriseCount[uSide] < 2)); - } -#ifdef MP - UNLOCK_POSITION_HASH(uLock); -#endif - return fStand; -} - ULONG ValueOfMaterialInTroubleDespiteMove(POSITION *pos, ULONG uSide) { |
