From e9779e6d19abd9f6091d2fd2312cd37470ce5914 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 16 Apr 2021 21:35:00 +0200 Subject: [PATCH] Fix hashing. --- world/terra_world.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/terra_world.h b/world/terra_world.h index 0e5a315..b7b5492 100644 --- a/world/terra_world.h +++ b/world/terra_world.h @@ -228,7 +228,7 @@ public: struct IntPosHasher { static _FORCE_INLINE_ uint32_t hash(const IntPos &v) { uint32_t hash = hash_djb2_one_32(v.x); - hash = hash_djb2_one_32(v.y, hash); + hash = hash_djb2_one_32(v.x, hash); return hash_djb2_one_32(v.z, hash); } };