1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-29 00:12:52 +00:00

removed debug comments from notknot

This commit is contained in:
Zeno Rogue 2021-04-07 19:58:23 +02:00
parent eaa2a45932
commit c0901b47c8

View File

@ -780,7 +780,7 @@ struct hrmap_notknot : hrmap {
if(!uloops.count(u->where)) { if(!uloops.count(u->where)) {
uloops[u->where] = {}; uloops[u->where] = {};
unify_loops(u); unify_loops(u);
println(hlog, "loops recorded for ", u->where, ": ", isize(uloops[u->where])); // println(hlog, "loops recorded for ", u->where, ": ", isize(uloops[u->where]));
} }
for(auto& myloop: uloops[u->where]) for(auto& myloop: uloops[u->where])
@ -794,7 +794,7 @@ struct hrmap_notknot : hrmap {
pathback.push_back(uc->parentdir); pathback.push_back(uc->parentdir);
uc = uc->ptr[(int) uc->parentdir]; uc = uc->ptr[(int) uc->parentdir];
} }
println(hlog, "pathback = ", pathback); // println(hlog, "pathback = ", pathback);
if(loop_any) { if(loop_any) {
auto us = all[0]; auto us = all[0];