mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-18 10:11:11 +00:00
Fixed mirror angle issue, fixes rendering of mirrors
This commit is contained in:
parent
303da0e071
commit
02e4ba464a
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ void R_EnterPortal (PortalDrawseg* pds, int depth)
|
||||||
ViewPos.X = (x1 + r * dx)*2 - x;
|
ViewPos.X = (x1 + r * dx)*2 - x;
|
||||||
ViewPos.Y = (y1 + r * dy)*2 - y;
|
ViewPos.Y = (y1 + r * dy)*2 - y;
|
||||||
}
|
}
|
||||||
ViewAngle = pds->src->Delta().Angle() - startang;
|
ViewAngle = pds->src->Delta().Angle() * 2 - startang;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue