mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-07 12:49:12 +01:00
DroidFish: Small improvement in engine input handling.
This commit is contained in:
parent
441afc3398
commit
be610c97f4
|
@ -1018,13 +1018,12 @@ public class DroidComputerPlayer {
|
|||
if (Thread.currentThread().isInterrupted())
|
||||
return;
|
||||
|
||||
if ((searchRequest == null) || (searchRequest.currPos == null))
|
||||
return;
|
||||
|
||||
long now = System.currentTimeMillis();
|
||||
if (now < lastGUIUpdate + guiUpdateInterval)
|
||||
return;
|
||||
lastGUIUpdate = now;
|
||||
|
||||
if ((searchRequest == null) || (searchRequest.currPos == null))
|
||||
return;
|
||||
|
||||
int id = engineState.searchId;
|
||||
if (depthModified) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user