mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 16:31:03 +00:00
Remove incorrect early returns in P_CheckSector
This commit is contained in:
parent
404492cb30
commit
1304874a8f
1 changed files with 0 additions and 7 deletions
|
@ -4509,7 +4509,6 @@ boolean P_CheckSector(sector_t *sector, boolean crunch)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
PIT_ChangeSector(mo, true);
|
PIT_ChangeSector(mo, true);
|
||||||
return nofit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4539,10 +4538,7 @@ boolean P_CheckSector(sector_t *sector, boolean crunch)
|
||||||
{
|
{
|
||||||
n->visited = true;
|
n->visited = true;
|
||||||
if (!(n->m_thing->flags & MF_NOBLOCKMAP))
|
if (!(n->m_thing->flags & MF_NOBLOCKMAP))
|
||||||
{
|
|
||||||
PIT_ChangeSector(n->m_thing, true);
|
PIT_ChangeSector(n->m_thing, true);
|
||||||
return nofit;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} while (n);
|
} while (n);
|
||||||
|
@ -4562,10 +4558,7 @@ boolean P_CheckSector(sector_t *sector, boolean crunch)
|
||||||
{
|
{
|
||||||
n->visited = true; // mark thing as processed
|
n->visited = true; // mark thing as processed
|
||||||
if (!(n->m_thing->flags & MF_NOBLOCKMAP)) //jff 4/7/98 don't do these
|
if (!(n->m_thing->flags & MF_NOBLOCKMAP)) //jff 4/7/98 don't do these
|
||||||
{
|
|
||||||
PIT_ChangeSector(n->m_thing, true); // process it
|
PIT_ChangeSector(n->m_thing, true); // process it
|
||||||
return nofit;
|
|
||||||
}
|
|
||||||
break; // exit and start over
|
break; // exit and start over
|
||||||
}
|
}
|
||||||
} while (n); // repeat from scratch until all things left are marked valid
|
} while (n); // repeat from scratch until all things left are marked valid
|
||||||
|
|
Loading…
Reference in a new issue