mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- Fixed: The originx and originy for the textured automap is supposed to be calculated after
rotating originpt by the automap, not before. SVN r3998 (trunk)
This commit is contained in:
parent
c114113fe8
commit
682c7d2a8a
1 changed files with 2 additions and 2 deletions
|
@ -1723,8 +1723,6 @@ void AM_drawSubsectors()
|
|||
continue;
|
||||
}
|
||||
|
||||
originx = f_x + ((originpt.x - m_x) * scale / float(1 << 24));
|
||||
originy = f_y + (f_h - (originpt.y - m_y) * scale / float(1 << 24));
|
||||
// Apply the floor's rotation to the texture origin.
|
||||
if (rotation != 0)
|
||||
{
|
||||
|
@ -1736,6 +1734,8 @@ void AM_drawSubsectors()
|
|||
rotation += ANG90 - players[consoleplayer].camera->angle;
|
||||
AM_rotatePoint(&originpt.x, &originpt.y);
|
||||
}
|
||||
originx = f_x + ((originpt.x - m_x) * scale / float(1 << 24));
|
||||
originy = f_y + (f_h - (originpt.y - m_y) * scale / float(1 << 24));
|
||||
|
||||
// If this subsector has not actually been seen yet (because you are cheating
|
||||
// to see it on the map), tint and desaturate it.
|
||||
|
|
Loading…
Reference in a new issue