- Fixed: 3DMidtex checks were treating the Null texture as a valid texture.
SVN r1927 (trunk)
This commit is contained in:
parent
0c39b5c66a
commit
dcd4c7fe7a
3 changed files with 5 additions and 18 deletions
|
|
@ -219,6 +219,7 @@ bool P_GetMidTexturePosition(const line_t *line, int sideno, fixed_t *ptextop, f
|
|||
|
||||
side_t *side = line->sidedef[sideno];
|
||||
FTextureID texnum = side->GetTexture(side_t::mid);
|
||||
if (!texnum.isValid()) return false;
|
||||
FTexture * tex= TexMan(texnum);
|
||||
if (!tex) return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue