Fix incorrect 180 turn handling.

This commit is contained in:
Mari the Deer 2022-09-20 13:00:26 +02:00
commit b3bc25d5c0
2 changed files with 4 additions and 4 deletions

View file

@ -2074,7 +2074,7 @@ Class Demolitionist : PlayerPawn
if ( player.turnticks )
{
player.turnticks--;
guideangle = (180./TURN180_TICKS);
angle += (180./TURN180_TICKS);
}
else guideangle += .2*player.cmd.yaw*(360./65536.);
guidepitch -= .2*player.cmd.pitch*(360./65536.);
@ -2117,7 +2117,7 @@ Class Demolitionist : PlayerPawn
if ( player.turnticks )
{
player.turnticks--;
angle = (180./TURN180_TICKS);
angle += (180./TURN180_TICKS);
}
else angle += player.cmd.yaw*(360./65536.);
player.onground = (pos.z<=floorz)||bOnMobj||bMBFBouncer||(player.cheats&CF_NOCLIP2);