[qfvis] Reset portal status after base vis

This fixes the mightsee updates never occurring, but it doesn't make a
huge difference (though I suppose it might have back in the 90s, or with
a different map).
This commit is contained in:
Bill Currie 2021-03-28 20:59:46 +09:00
parent 0fa65be106
commit 9f42943589

View file

@ -935,6 +935,9 @@ CalcVis (void)
printf ("Thread count: %d\n", options.threads); printf ("Thread count: %d\n", options.threads);
BasePortalVis (); BasePortalVis ();
for (i = 0; i < 2 * numportals; i++) {
portals[i].status = stat_none;
}
CalcPortalVis (); CalcPortalVis ();
// assemble the leaf vis lists by oring and compressing the portal lists // assemble the leaf vis lists by oring and compressing the portal lists