add note
This commit is contained in:
parent
02b88f67ac
commit
80db0a872d
@ -519,7 +519,7 @@ impl FutureMoves {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// only prune moves of the agent
|
// only prune moves of the agent (children of opposite color)
|
||||||
if indexes.first().map(|&i| self.arena[i].color) != Some(self.agent_color) {
|
if indexes.first().map(|&i| self.arena[i].color) != Some(self.agent_color) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user