- BOOM compatibility fix: Allow voodoo dolls to spawn inside narrow pits.

SVN r2641 (trunk)
This commit is contained in:
Randy Heit 2010-08-29 17:57:10 +00:00
parent c304b39ecc
commit 08a40b22be

View file

@ -503,6 +503,15 @@ void APlayerPawn::Tick()
void APlayerPawn::PostBeginPlay()
{
SetupWeaponSlots();
// Voodoo dolls: restore original floorz/ceilingz logic
if (player->mo != this)
{
dropoffz = floorz = Sector->floorplane.ZatPoint(x, y);
ceilingz = Sector->ceilingplane.ZatPoint(x, y);
P_FindFloorCeiling(this, true);
z = floorz;
}
}
//===========================================================================