1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 20:07:58 +00:00

less-states

This commit is contained in:
Zeno Rogue
2022-07-13 19:33:00 +02:00
parent 0b4df47964
commit 906ad4ab90
2 changed files with 5 additions and 1 deletions

View File

@@ -1974,7 +1974,7 @@ EX namespace reg3 {
bool ruleset_link_alt(heptagon *h, heptagon *alt, hstate firststate, int dir) {
alt->fieldval = h->fieldval;
if(firststate == hsOrigin) {
alt->fiftyval = root[alt->fieldval];
alt->fiftyval = root[alt->fieldval % isize(root)];
return true;
}
vector<int>& choices = possible_states[alt->fieldval];