Duke3d: 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 0ec9dd9a14
commit 26b87e3aa0

View file

@ -4759,6 +4759,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++;