mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 07:31:03 +00:00
- Exhumed: Ensure automap uses untouched interpolated actor position.
* Using chase cam while the automap was on was drawing the player sprite incorrectly.
This commit is contained in:
parent
0fca5b14a2
commit
742a2e5c9a
1 changed files with 3 additions and 1 deletions
|
@ -250,6 +250,8 @@ void DrawView(double interpfrac, bool sceneonly)
|
|||
}
|
||||
}
|
||||
|
||||
const auto ampos = nCamerapos.XY();
|
||||
|
||||
if (nSnakeCam >= 0 && !sceneonly)
|
||||
{
|
||||
nCameraangles.Pitch = nullAngle;
|
||||
|
@ -379,7 +381,7 @@ void DrawView(double interpfrac, bool sceneonly)
|
|||
}
|
||||
}
|
||||
|
||||
DrawMap(nCamerapos.XY(), nCameraangles.Yaw, interpfrac);
|
||||
DrawMap(ampos, nCameraangles.Yaw, interpfrac);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue