- fixed: Spawning things abuve a 3D midtexture did not provess the 'is above midtexture' state properly.

- fixed: When teleporting an actor the destination must be checked with the new z position, not the old one.


SVN r3111 (trunk)
This commit is contained in:
Christoph Oelckers 2011-01-20 11:40:05 +00:00
commit 622d1ebe6a
5 changed files with 27 additions and 8 deletions

View file

@ -212,9 +212,9 @@ void P_LineOpening (FLineOpening &open, AActor *actor, const line_t *linedef,
if (actor != NULL && linedef->frontsector != NULL && linedef->backsector != NULL &&
linedef->flags & ML_3DMIDTEX)
{
open.touchmidtex = P_LineOpening_3dMidtex(actor, linedef, open.top, open.bottom);
open.touchmidtex = P_LineOpening_3dMidtex(actor, linedef, open.top, open.bottom, &open.abovemidtex);
}
else open.touchmidtex = false;
else open.abovemidtex = open.touchmidtex = false;
open.range = open.top - open.bottom;
}