Fix hashing.

This commit is contained in:
Relintai 2021-04-16 21:35:00 +02:00
parent e44caf50ea
commit e9779e6d19

View File

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