- floatified texture scale values.

This commit is contained in:
Christoph Oelckers 2016-03-26 13:37:44 +01:00
commit 0c39bdd04c
11 changed files with 74 additions and 71 deletions

View file

@ -759,7 +759,7 @@ int CheckRealHeight(FTexture *tex)
}
}
// Scale maxy before returning it
maxy = (maxy << 17) / tex->yScale;
maxy = int((maxy *2) / tex->Scale.Y);
maxy = (maxy >> 1) + (maxy & 1);
return maxy;
}