1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

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

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