1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

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

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)