vis:: restore warnings disabled in 74e1a0f6f0

This commit is contained in:
Eric Wasylishen 2023-11-11 14:56:15 -07:00
parent 5bcb2d4657
commit 189cc0586c
2 changed files with 3 additions and 7 deletions

View File

@ -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;
}

View File

@ -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;