mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
fixed emeraldval computation in binary4 / sol
This commit is contained in:
parent
fc143970c0
commit
5491848ee9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user