1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Improve comment

closes https://github.com/official-stockfish/Stockfish/pull/5249

No functional change
This commit is contained in:
Rak Laptudirm 2024-05-15 22:26:12 +05:30 committed by Joost VandeVondele
parent 47597641dc
commit e0227a6272

View file

@ -35,7 +35,7 @@ namespace Stockfish {
void TTEntry::save(
Key k, Value v, bool pv, Bound b, Depth d, Move m, Value ev, uint8_t generation8) {
// Preserve any existing move for the same position
// Preserve the old ttmove if we don't have a new one
if (m || uint16_t(k) != key16)
move16 = m;