1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 01:37:57 +00:00

reg3 rules now support 65535 states

This commit is contained in:
Zeno Rogue
2021-05-22 01:25:41 +02:00
parent e78a170e7e
commit af9d35dc1c
2 changed files with 9 additions and 2 deletions

View File

@@ -112,8 +112,10 @@ void expansion_analyzer::preliminary_grouping() {
children.resize(N);
int k = 0;
for(int i=0; i<N; i++) for(int j=0; j<S7; j++) {
if(chi[k] >= 0)
children[i].push_back(chi[k]);
int ck = chi[k];
if(ck < -1) ck += (1<<16);
if(ck >= 0)
children[i].push_back(ck);
k++;
}
#endif