mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-26 05:51:00 +00:00
- SW: Reset player's render angle state only for the console player.
This commit is contained in:
parent
7593114fc7
commit
572ec96467
1 changed files with 3 additions and 3 deletions
|
@ -6702,14 +6702,14 @@ void MoveSkipSavePos(void)
|
||||||
MoveSkip4 = (MoveSkip4 + 1) & 3;
|
MoveSkip4 = (MoveSkip4 + 1) & 3;
|
||||||
MoveSkip2 ^= 1;
|
MoveSkip2 ^= 1;
|
||||||
|
|
||||||
|
// this must be done before the view is backed up.
|
||||||
|
Player[myconnectindex].Angles.resetRenderAngles();
|
||||||
|
|
||||||
// Save off player
|
// Save off player
|
||||||
TRAVERSE_CONNECT(pnum)
|
TRAVERSE_CONNECT(pnum)
|
||||||
{
|
{
|
||||||
pp = Player + pnum;
|
pp = Player + pnum;
|
||||||
|
|
||||||
// this must be done before the view is backed up.
|
|
||||||
pp->Angles.resetRenderAngles();
|
|
||||||
|
|
||||||
pp->actor->backuploc();
|
pp->actor->backuploc();
|
||||||
pp->obob_z = pp->bob_z;
|
pp->obob_z = pp->bob_z;
|
||||||
pp->opbob_amt = pp->pbob_amt;
|
pp->opbob_amt = pp->pbob_amt;
|
||||||
|
|
Loading…
Reference in a new issue