whiteline checkup

This commit is contained in:
Alam Ed Arias 2014-11-01 23:52:17 -04:00
parent 21edc49ea4
commit aa612bcf91
1 changed files with 2 additions and 2 deletions

View File

@ -2791,7 +2791,7 @@ static void HWR_RenderPolyObjectPlane(polyobj_t *polysector, fixed_t fixedheight
static void HWR_AddPolyObjectPlanes(void)
{
size_t i;
sector_t *polyobjsector;
sector_t *polyobjsector;
// Polyobject Planes need their own function for drawing because they don't have extrasubsectors by themselves
// It should be okay because polyobjects should always be convex anyway
@ -4829,7 +4829,7 @@ static void HWR_DrawSkyBackground(player_t *player)
// Y
angle = aimingangle;
float aspectratio = (float)vid.width/(float)vid.height;
dimensionmultiply = ((float)textures[skytexture]->height/(128.0f*aspectratio));
float angleturn = (((float)ANGLE_45-1.0f)*aspectratio)*dimensionmultiply;