added pseudo legality checking and testing tt move in movepicker | bench 1801941
This commit is contained in:
1 parent
079959e6d4
commit
b929963f91
3 files changed
+187
-1
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ public:
|
||||
case TT: {
|
||||
stage = Rest;
|
||||
|
||||
if (ttMove)
|
||||
if (ttMove && board.IsPseudoLegal(ttMove))
|
||||
return ttMove;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user