mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
3d44613377
3 changed files with 5 additions and 5 deletions
|
@ -2645,7 +2645,7 @@ void AM_drawPlayers ()
|
|||
pt.y = pos.Y;
|
||||
if (am_rotate == 1 || (am_rotate == 2 && viewactive))
|
||||
{
|
||||
angle = 90.;
|
||||
angle = -90.;
|
||||
AM_rotatePoint (&pt.x, &pt.y);
|
||||
}
|
||||
else
|
||||
|
@ -2806,7 +2806,7 @@ void AM_drawThings ()
|
|||
if (frame->Texture[0] != frame->Texture[1]) angle += 180. / 16;
|
||||
if (am_rotate == 1 || (am_rotate == 2 && viewactive))
|
||||
{
|
||||
angle += players[consoleplayer].camera->Angles.Yaw - 90.;
|
||||
angle += players[consoleplayer].camera->Angles.Yaw + 90.;
|
||||
}
|
||||
rotation = int((angle.Normalized360() * (16. / 360.)).Degrees);
|
||||
|
||||
|
@ -2830,7 +2830,7 @@ void AM_drawThings ()
|
|||
if (am_rotate == 1 || (am_rotate == 2 && viewactive))
|
||||
{
|
||||
AM_rotatePoint (&p.x, &p.y);
|
||||
angle += -players[consoleplayer].camera->Angles.Yaw + 90.;
|
||||
angle += -players[consoleplayer].camera->Angles.Yaw - 90.;
|
||||
}
|
||||
|
||||
color = AMColors[AMColors.ThingColor];
|
||||
|
|
|
@ -587,7 +587,7 @@ void P_DrawSplash2 (int count, const DVector3 &pos, DAngle angle, int updown, in
|
|||
break;
|
||||
}
|
||||
|
||||
zvel = -0.5;
|
||||
zvel = -1./512.;
|
||||
zspread = updown ? -6000 / 65536. : 6000 / 65536.;
|
||||
zadd = (updown == 2) ? 128 : 0;
|
||||
|
||||
|
|
|
@ -1314,7 +1314,7 @@ void P_LoadSegs (MapData * map)
|
|||
// errors _can_ cause firelines.
|
||||
|
||||
DAngle ptp_angle = (li->v2->fPos() - li->v1->fPos()).Angle();
|
||||
DAngle seg_angle = AngleToFloat(segangle);
|
||||
DAngle seg_angle = AngleToFloat(segangle << 16);
|
||||
DAngle delta_angle = absangle(ptp_angle, seg_angle);
|
||||
|
||||
if (delta_angle >= 1.)
|
||||
|
|
Loading…
Reference in a new issue