bug fix in initialize_tagtree; correctly incrementing to parent nodes in y direction.

This commit is contained in:
Gregor Weiss 2024-02-12 15:57:02 +01:00
parent e5eccfe858
commit e6abc9fd81
Signed by: Gregor Weiss
GPG key ID: 61E170A8BBFE5756

View file

@ -389,7 +389,7 @@ initialize_tagtree(const uint64 leafsX, const uint64 leafsY, const uint64 leafsZ
{
if(b >> 1)
{
parent_y += nlY[n + 1];
parent_y += nlX[n+1];
b = 0;
}
for(i = 0, a = 0, parent_x = parent_y; i < nlX[n]; ++i, ++a)