mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-23 21:03:02 +00:00
Fix #1248
This commit is contained in:
parent
47bcad4ab1
commit
27e1ee710c
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ void P_LineOpening(line_t *linedef, mobj_t *mobj)
|
|||
|
||||
if (texnum) {
|
||||
// Get the midtexture's height
|
||||
texheight = textures[texnum]->height << FRACBITS;
|
||||
texheight = FixedDiv(textureheight[texnum], abs(side->scaley_mid));
|
||||
|
||||
// Set texbottom and textop to the Z coordinates of the texture's boundaries
|
||||
#if 0
|
||||
|
|
Loading…
Reference in a new issue