summaryrefslogtreecommitdiff
path: root/src/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.c')
-rwxr-xr-xsrc/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index a29e375..c5e5f85 100755
--- a/src/hash.c
+++ b/src/hash.c
@@ -893,7 +893,7 @@ Return value:
// to the search.
INC(ctx->sCounters.hash.u64OverallHits);
if (pHash->mv.uMove) {
- uThisScore = COMPUTE_MOVE_SCORE(pHash->mv, uDepth);
+ uThisScore = COMPUTE_MOVE_SCORE(pHash->mv, pHash->uDepth);
ASSERT(uThisScore != 0);
if (uThisScore > uMoveScore) {
uMoveScore = uThisScore;