Skip to content

Commit

Permalink
Merge branch 'polyobj-crush-fix-mi' into 'next'
Browse files Browse the repository at this point in the history
PolyObject crush hotfix

See merge request STJr/SRB2!506
  • Loading branch information
MonsterIestyn committed Aug 16, 2019
2 parents 392cb89 + ae9ecef commit 99f04f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/p_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

if (!P_MobjTouchingPolyobj(po, mo))
if (!P_MobjInsidePolyobj(po, mo))
continue;

if (!PIT_ChangeSector(mo, false))
Expand Down Expand Up @@ -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

if (!P_MobjTouchingPolyobj(po, mo))
if (!P_MobjInsidePolyobj(po, mo))
continue;

PIT_ChangeSector(mo, true);
Expand Down

0 comments on commit 99f04f1

Please sign in to comment.