- 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
parent fc4bf2f647
commit 74642ca626
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,12 @@
February 28, 2009 March 1, 2009 (Changes by Graf Zahl)
- 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.)
February 29, 2008
- Version bump to 2.3.0.
February 28, 2009
- Fixed: The TeleporterBeacon tried to enter its See state rather than its - Fixed: The TeleporterBeacon tried to enter its See state rather than its
Drop state. Also changed it to fade out when it's done rather than Drop state. Also changed it to fade out when it's done rather than
disappearing abruptly. disappearing abruptly.

View file

@ -564,6 +564,7 @@ void AActor::SetOrigin (fixed_t ix, fixed_t iy, fixed_t iz)
LinkToWorld (); LinkToWorld ();
floorz = Sector->floorplane.ZatPoint (ix, iy); floorz = Sector->floorplane.ZatPoint (ix, iy);
ceilingz = Sector->ceilingplane.ZatPoint (ix, iy); ceilingz = Sector->ceilingplane.ZatPoint (ix, iy);
P_FindFloorCeiling(this, true);
} }
FBlockNode *FBlockNode::FreeBlocks = NULL; FBlockNode *FBlockNode::FreeBlocks = NULL;