- changed all texture access in the play code to use FGameTexture and redid Hexen's front sky layer by adding a new texture instead of hacking the existing one.
This commit is contained in:
parent
9e7094848c
commit
b9b6a354c7
20 changed files with 91 additions and 77 deletions
|
|
@ -231,7 +231,7 @@ bool P_GetMidTexturePosition(const line_t *line, int sideno, double *ptextop, do
|
|||
side_t *side = line->sidedef[sideno];
|
||||
FTextureID texnum = side->GetTexture(side_t::mid);
|
||||
if (!texnum.isValid()) return false;
|
||||
FTexture * tex= TexMan.GetTexture(texnum, true);
|
||||
FGameTexture * tex= TexMan.GetGameTexture(texnum, true);
|
||||
if (!tex) return false;
|
||||
|
||||
FTexCoordInfo tci;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue