Fix crash with ceiling slopes and line collisions

This commit is contained in:
RedEnchilada 2015-04-25 20:39:18 -05:00
parent f130a529b1
commit bac34d783e
1 changed files with 7 additions and 7 deletions

View File

@ -642,7 +642,7 @@ void P_LineOpening(line_t *linedef)
if (front->c_slope) highceiling = P_GetZAt(front->c_slope, tmthing->x, tmthing->y);
}
if (front->c_slope && front->floorheight < back->floorheight)
if (front->f_slope && front->floorheight < back->floorheight)
{
openbottom = P_GetZAt(front->f_slope, tmthing->x, tmthing->y);
if (back->f_slope) lowfloor = P_GetZAt(back->f_slope, tmthing->x, tmthing->y);