- remove the 'F' prefix from the floating point access function to the sidedef texture info, now that the fixed point versions are gone.
This commit is contained in:
parent
be8d1b46a7
commit
35a6994d0a
8 changed files with 41 additions and 41 deletions
|
|
@ -231,8 +231,8 @@ bool P_GetMidTexturePosition(const line_t *line, int sideno, double *ptextop, do
|
|||
FTexture * tex= TexMan(texnum);
|
||||
if (!tex) return false;
|
||||
|
||||
double totalscale = fabs(side->GetTextureYScaleF(side_t::mid)) * tex->GetScaleY();
|
||||
double y_offset = side->GetTextureYOffsetF(side_t::mid);
|
||||
double totalscale = fabs(side->GetTextureYScale(side_t::mid)) * tex->GetScaleY();
|
||||
double y_offset = side->GetTextureYOffset(side_t::mid);
|
||||
double textureheight = tex->GetHeight() / totalscale;
|
||||
if (totalscale != 1. && !tex->bWorldPanning)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue