RR: zero .horizSkew in P_DoJetpack()

This commit is contained in:
Richard C. Gobeille 2020-05-04 18:14:02 -07:00 committed by Christoph Oelckers
parent 818e14448d
commit bcf4903505
1 changed files with 2 additions and 0 deletions

View File

@ -6844,6 +6844,8 @@ static void P_DoJetpack(int const playerNum, int const playerBits, int const pla
pPlayer->pycount &= 2047;
pPlayer->pyoff = sintable[pPlayer->pycount] >> 7;
g_player[playerNum].horizSkew = 0;
if (pPlayer->jetpack_on < 11)
{
pPlayer->jetpack_on++;