mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'polyobj-crush-fix-mi' into 'next'
PolyObject crush hotfix See merge request STJr/SRB2!506
This commit is contained in:
commit
8106370fe7
1 changed files with 2 additions and 2 deletions
|
|
@ -3394,7 +3394,7 @@ boolean P_CheckSector(sector_t *sector, boolean crunch)
|
||||||
{
|
{
|
||||||
// Monster Iestyn: do we need to check if a mobj has already been checked? ...probably not I suspect
|
// Monster Iestyn: do we need to check if a mobj has already been checked? ...probably not I suspect
|
||||||
|
|
||||||
if (!P_MobjTouchingPolyobj(po, mo))
|
if (!P_MobjInsidePolyobj(po, mo))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!PIT_ChangeSector(mo, false))
|
if (!PIT_ChangeSector(mo, false))
|
||||||
|
|
@ -3504,7 +3504,7 @@ boolean P_CheckSector(sector_t *sector, boolean crunch)
|
||||||
{
|
{
|
||||||
// Monster Iestyn: do we need to check if a mobj has already been checked? ...probably not I suspect
|
// Monster Iestyn: do we need to check if a mobj has already been checked? ...probably not I suspect
|
||||||
|
|
||||||
if (!P_MobjTouchingPolyobj(po, mo))
|
if (!P_MobjInsidePolyobj(po, mo))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
PIT_ChangeSector(mo, true);
|
PIT_ChangeSector(mo, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue