mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-08 05:51:45 +00:00
- fixed: P_AlignFlat's y-offset data was ignored when calculating plane offsets for the final render
This commit is contained in:
parent
62bd4a360b
commit
cb9f2e2eb0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue