- Fixed: AActor::SetOrigin must call P_FindFloorCeiling to get the true
floor and ceiling heights. Otherwise the actor will fall right through 3DMidtex textures (and 3D-floors.) SVN r1456 (trunk)
This commit is contained in:
parent
fc4bf2f647
commit
74642ca626
2 changed files with 10 additions and 1 deletions
|
|
@ -564,6 +564,7 @@ void AActor::SetOrigin (fixed_t ix, fixed_t iy, fixed_t iz)
|
|||
LinkToWorld ();
|
||||
floorz = Sector->floorplane.ZatPoint (ix, iy);
|
||||
ceilingz = Sector->ceilingplane.ZatPoint (ix, iy);
|
||||
P_FindFloorCeiling(this, true);
|
||||
}
|
||||
|
||||
FBlockNode *FBlockNode::FreeBlocks = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue