Fix atomic SEE and endgames (#907)
authorFabian Fichter <ianfab@users.noreply.github.com>
Fri, 22 Aug 2025 20:43:15 +0000 (22:43 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Aug 2025 20:43:15 +0000 (22:43 +0200)
commit750214d5635df56f1d4cb1dd6a8788565f3793c9
tree8b6fcabcca1fce873f114f22adfa727b5255b61d
parented046d7ce9ae31722f3a6b60418de718a54a6147
Fix atomic SEE and endgames (#907)

* Fix SEE issues with double king explosions
* Fix wrong atomic KQK and KXK endgame evaluation

Credits to @johndoknjas for the initial fix.
src/endgame.cpp
src/position.cpp