- 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:
Christoph Oelckers 2009-03-01 10:12:12 +00:00
commit 74642ca626
2 changed files with 10 additions and 1 deletions

View file

@ -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;