Skip to content

Commit

Permalink
- fixed: PlayerSprite in softpoly was not calculated correctly. Sprit…
Browse files Browse the repository at this point in the history
…e will now not go all sorts of crazy places when you enable alternative scaling or forced aspect modes.
  • Loading branch information
madame-rachelle committed Sep 12, 2017
1 parent 8454e09 commit ac566f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polyrenderer/scene/poly_playersprite.cpp
Expand Up @@ -242,7 +242,7 @@ void RenderPolyPlayerSprites::RenderSprite(PolyRenderThread *thread, DPSprite *p
sy += wy;
}

double yaspectMul = 1.2;// 320.0 * SCREENHEIGHT / (r_Yaspect * SCREENWIDTH);
double yaspectMul = 1.2 * ((double)SCREENHEIGHT / SCREENWIDTH) * r_viewwindow.WidescreenRatio;

double pspritexscale = viewwindow.centerxwide / 160.0;
double pspriteyscale = pspritexscale * yaspectMul;
Expand Down

0 comments on commit ac566f4

Please sign in to comment.