aboutsummaryrefslogtreecommitdiff
path: root/src/hash.cpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-23 09:32:50 +0200
committerAdam <adammegarules1@gmail.com>2026-08-23 09:32:50 +0200
commit393e544bbc3a14e38179bc7a73ca79690c154b28 (patch)
treec449df4446345061b873f250d7405486a99ab86a /src/hash.cpp
parent101f58159685d72756bc08e26e64d56e607809b3 (diff)
refactor(move): making makemove function be nicer
Diffstat (limited to 'src/hash.cpp')
-rw-r--r--src/hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.cpp b/src/hash.cpp
index 5d6a72d..ad011b9 100644
--- a/src/hash.cpp
+++ b/src/hash.cpp
@@ -340,7 +340,7 @@ void xorCastleKey(bool color, bool IS_KING_SIDE, Game *g) {
g->hash ^= CastleKeys[3];
};
}
-void xorSidekey(Game *g) { g->hash ^= SideKey; }
+void toogleSideKey(Game *g) { g->hash ^= SideKey; }
void xorEnpassantKey(Game *g) {
if (g->canEnpassant && IsEnpassantLegal(g)) {
g->hash ^= EnPassantKeys[g->enPassant.file];