- added udmf key midtex3dimpassible which causes the midtex to behave like a finite-height impassible line; practically this means the mid texture lets projectiles pass through it.
This commit is contained in:
parent
c962c56079
commit
770547e661
5 changed files with 47 additions and 26 deletions
|
|
@ -258,6 +258,13 @@ bool P_GetMidTexturePosition(const line_t *line, int sideno, fixed_t *ptextop, f
|
|||
|
||||
bool P_LineOpening_3dMidtex(AActor *thing, const line_t *linedef, FLineOpening &open, bool restrict)
|
||||
{
|
||||
// [TP] Impassible-like 3dmidtextures do not block missiles
|
||||
if ((linedef->flags & ML_3DMIDTEX_IMPASS)
|
||||
&& (thing->flags & MF_MISSILE || thing->BounceFlags & BOUNCE_MBF))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
fixed_t tt, tb;
|
||||
|
||||
open.abovemidtex = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue