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); } };