Duke3d: zero player return_to_center when setting horizRecenter to false

This commit is contained in:
Richard C. Gobeille 2020-05-10 19:00:45 -07:00 committed by Christoph Oelckers
parent 2d4f6be147
commit b0902f916a

View file

@ -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;
}
}