mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- 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:
parent
f9aae72dc4
commit
c53c8f29e7
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue