- fixed: P_AlignFlat's y-offset data was ignored when calculating plane offsets for the final render

This commit is contained in:
Rachael Alexanderson 2017-03-10 00:18:20 -05:00 committed by Christoph Oelckers
parent bb1d29d491
commit 9d5f8ba250

View file

@ -69,7 +69,7 @@ namespace swrenderer
{
double cosine = cos(planeang), sine = sin(planeang);
pviewx = pl->xform.xOffs + ViewPos.X * cosine - ViewPos.Y * sine;
pviewy = pl->xform.yOffs - ViewPos.X * sine - ViewPos.Y * cosine;
pviewy = pl->xform.yOffs + pl->xform.baseyOffs - ViewPos.X * sine - ViewPos.Y * cosine;
}
else
{