Fix typo in P_MobjTouchingSectorSpecial

This commit is contained in:
MascaraSnake 2021-12-31 00:05:47 +01:00
parent 2c0fb5e80f
commit 417809f78e

View file

@ -4052,7 +4052,7 @@ sector_t *P_MobjTouchingSectorSpecial(mobj_t *mo, INT32 section, INT32 number)
if (!(node->m_sector->flags & SF_TRIGGERSPECIAL_TOUCH))
continue;
if (GETSECSPECIAL(mo->subsector->sector->special, section) == number)
if (GETSECSPECIAL(node->m_sector->special, section) == number)
return node->m_sector;
}