- blocked off direct access to TAngle’s internal storage.
This commit is contained in:
parent
3d2578820b
commit
4032576519
31 changed files with 123 additions and 235 deletions
|
|
@ -2920,7 +2920,7 @@ void DAutomap::drawThings ()
|
|||
{
|
||||
angle += players[consoleplayer].camera->InterpolatedAngles(r_viewpoint.TicFrac).Yaw - DAngle::fromDeg(90.);
|
||||
}
|
||||
rotation = int((angle.Normalized360() * (16. / 360.)).Degrees);
|
||||
rotation = int((angle.Normalized360() * (16. / 360.)).Degrees());
|
||||
|
||||
const FTextureID textureID = frame->Texture[show > 2 ? rotation : 0];
|
||||
texture = TexMan.GetGameTexture(textureID, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue