Fix incorrect 180 turn handling.
This commit is contained in:
parent
fd99957396
commit
b3bc25d5c0
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue