diff --git a/vis/flow.cc b/vis/flow.cc index f46c724b..6794a7c9 100644 --- a/vis/flow.cc +++ b/vis/flow.cc @@ -144,9 +144,7 @@ static void RecursiveLeafFlow(int leafnum, threaddata_t *thread, pstack_t &prevs */ err = CheckStack(leaf, thread); if (err) { - // ericw -- this seems harmless and the fix for https://github.com/ericwa/ericw-tools/issues/261 - // causes it to happen a lot. - // logging::funcprint("WARNING: recursion on leaf {}\n", leafnum); + logging::funcprint("WARNING: recursion on leaf {}\n", leafnum); return; } diff --git a/vis/vis.cc b/vis/vis.cc index 4a5a001d..a7487634 100644 --- a/vis/vis.cc +++ b/vis/vis.cc @@ -404,10 +404,8 @@ static void ClusterFlow(int clusternum, leafbits_t &buffer, mbsp_t *bsp) buffer.data()[j] |= p->visbits.data()[j]; } - // ericw -- this seems harmless and the fix for https://github.com/ericwa/ericw-tools/issues/261 - // causes it to happen a lot. - // if (TestLeafBit(buffer, clusternum)) - // logging::print("WARNING: Leaf portals saw into cluster ({})\n", clusternum); + if (buffer[clusternum]) + logging::print("WARNING: Leaf portals saw into cluster ({})\n", clusternum); buffer[clusternum] = true;