fixed emeraldval computation in binary4 / sol

This commit is contained in:
Zeno Rogue 2019-08-02 22:07:52 +02:00
parent fc143970c0
commit 5491848ee9
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ namespace binary {
if(d < 2)
h->emeraldval = (parent->emeraldval * 2 + d) % 15015;
else
h->emeraldval = ((parent->emeraldval - d1) * 7508) % 15015;
h->emeraldval = ((parent->emeraldval - d1) * 7508 + 15015) % 15015;
}
if(WDIM == 3 && h->c7) make_binary_lands(parent, h);
#if DEBUG_BINARY_TILING