mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Fix easy move
bench: 8397672
This commit is contained in:
parent
2d668a3cfc
commit
713604a3d4
1 changed files with 6 additions and 2 deletions
|
@ -345,8 +345,12 @@ void Thread::id_loop() {
|
|||
|
||||
Value bestValue, alpha, beta, delta;
|
||||
|
||||
Move easyMove = EasyMove.get(pos.key());
|
||||
Move easyMove = MOVE_NONE;
|
||||
if (this == Threads.main())
|
||||
{
|
||||
easyMove = EasyMove.get(pos.key());
|
||||
EasyMove.clear();
|
||||
}
|
||||
|
||||
Stack *ss = stack+2; // To allow referencing (ss-2) and (ss+2)
|
||||
std::memset(stack, 0, 5 * sizeof(Stack));
|
||||
|
|
Loading…
Add table
Reference in a new issue