- Fixed: In P_LineOpening_3dMidtex(), set the floorpic or ceilingpic to the 3D midtex if it
alters the opening. This fixes things such as removing a projectile when it hits a 3D midtex instead of exploding it because the real floor or ceiling is sky. SVN r3490 (trunk)
This commit is contained in:
parent
60e0eca047
commit
c445f684fc
4 changed files with 23 additions and 14 deletions
|
|
@ -212,9 +212,12 @@ 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.abovemidtex);
|
||||
open.touchmidtex = P_LineOpening_3dMidtex(actor, linedef, open);
|
||||
}
|
||||
else
|
||||
{
|
||||
open.abovemidtex = open.touchmidtex = false;
|
||||
}
|
||||
else open.abovemidtex = open.touchmidtex = false;
|
||||
|
||||
open.range = open.top - open.bottom;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue