mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-16 10:19:58 +00:00
fix compile error with MAXMDIM 3
This commit is contained in:
parent
48338f0539
commit
0ced76c4f2
|
@ -105,6 +105,7 @@ void expansion_analyzer::preliminary_grouping() {
|
||||||
codeid.clear();
|
codeid.clear();
|
||||||
children.clear();
|
children.clear();
|
||||||
if(reg3::in_rule()) {
|
if(reg3::in_rule()) {
|
||||||
|
#if MAXMDIM >= 4
|
||||||
rootid = reg3::rule_get_root(0);
|
rootid = reg3::rule_get_root(0);
|
||||||
auto& chi = reg3::rule_get_children();
|
auto& chi = reg3::rule_get_children();
|
||||||
N = isize(chi) / S7;
|
N = isize(chi) / S7;
|
||||||
|
@ -115,6 +116,7 @@ void expansion_analyzer::preliminary_grouping() {
|
||||||
children[i].push_back(chi[k]);
|
children[i].push_back(chi[k]);
|
||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sample_id(currentmap->gamestart());
|
sample_id(currentmap->gamestart());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user