notknot:: bugfix to use base not geometry

This commit is contained in:
Zeno Rogue 2021-03-25 11:17:24 +01:00
parent b6505de623
commit f15ab95ca1
1 changed files with 1 additions and 1 deletions

View File

@ -874,7 +874,7 @@ struct hrmap_notknot : hrmap {
if(uk->state != 0) continue;
auto ul = gen_adj(u, l);
if(ul->state != 0) continue;
if(geometry == gCubeTiling || geometry == gNil) {
if(base == gCubeTiling || base == gNil) {
auto ukl = gen_adj(uk, l);
auto ulk = gen_adj(ul, k);
if(ukl->where == ulk->where && ukl->state != 0)