1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-05 10:17:03 +00:00

fixed a bug ion Ternary emeraldval

This commit is contained in:
Zeno Rogue 2024-04-08 19:13:48 +02:00
parent 10646933db
commit 05b6cdea3e

View File

@ -136,7 +136,7 @@ EX namespace bt {
h->emeraldval = gmod((parent->emeraldval - d1) * 7508, 15015);
break;
case gTernary:
if(d < 2)
if(d <= 2)
h->emeraldval = gmod(parent->emeraldval * 3 + d, 10010);
else
h->emeraldval = gmod((parent->emeraldval - d1) * 3337, 10010);