- Fixed: Just walking onto a 3D floor would not send SECSPAC_HitFloor or SECSPAC_HitCeiling events as it does with the real floor and ceiling. You needed some Z movement to make it happen.

SVN r3461 (trunk)
This commit is contained in:
Randy Heit 2012-03-20 03:15:23 +00:00
parent f9aae72dc4
commit c53c8f29e7

View file

@ -3395,6 +3395,14 @@ void AActor::CheckSectorTransition(sector_t *oldsec)
}
Sector->SecActTarget->TriggerAction(this, act);
}
if (z == floorz)
{
P_CheckFor3DFloorHit(this);
}
if (z + height == ceilingz)
{
P_CheckFor3DCeilingHit(this);
}
}
}