Work around issue where player sticks to the ceiling after jumping

git-svn-id: https://svn.eduke32.com/eduke32@7438 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-19 18:22:06 +00:00 committed by Christoph Oelckers
parent 0b1c21d477
commit e77332db32

View file

@ -5132,7 +5132,7 @@ void P_ProcessInput(int playerNum)
pPlayer->jumping_counter = 0;
if (pPlayer->vel.z < 0)
pPlayer->vel.x = pPlayer->vel.y = 0;
pPlayer->vel.z = 128;
pPlayer->vel.z = 256;
}
}