mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
Duke3d: zero player return_to_center when setting horizRecenter to false
This commit is contained in:
parent
2d4f6be147
commit
b0902f916a
1 changed files with 2 additions and 0 deletions
|
@ -5774,6 +5774,7 @@ RECHECK:
|
|||
{
|
||||
thisPlayer.horizAngleAdjust = float(6 << (int)(TEST_SYNC_KEY(playerBits, SK_RUN)));
|
||||
thisPlayer.horizRecenter = false;
|
||||
pPlayer->return_to_center = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5783,6 +5784,7 @@ RECHECK:
|
|||
{
|
||||
thisPlayer.horizAngleAdjust = -float(6 << (int)(TEST_SYNC_KEY(playerBits, SK_RUN)));
|
||||
thisPlayer.horizRecenter = false;
|
||||
pPlayer->return_to_center = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue