Fix midtexture collision
This commit is contained in:
parent
589aa58f62
commit
2f5b3e3524
1 changed files with 1 additions and 0 deletions
|
|
@ -681,6 +681,7 @@ void P_LineOpening(line_t *linedef, mobj_t *mobj)
|
|||
if (texnum) {
|
||||
// Get the midtexture's height
|
||||
texheight = textures[texnum]->height << FRACBITS;
|
||||
P_ClosestPointOnLine(tmx, tmy, linedef, &cross);
|
||||
|
||||
if (P_GetMidtextureTopBottom(linedef, cross.x, cross.y, &textop, &texbottom))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue