Commit 9f7b817b authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Duke3d: fix a minor refactoring error in the player falling code

I don't think this broke anything, but I noticed it when working on the player height stuff.
parent bcc1cb0d
......@@ -5303,7 +5303,7 @@ void P_ProcessInput(int playerNum)
if (klabs(Zdiff) < 256)
Zdiff = 0;
else if (!playerShrunk)
pPlayer->pos.z += (floorZ - (floorZOffset << 8) - pPlayer->pos.z) >> 1;
pPlayer->pos.z += Zdiff;
pPlayer->vel.z -= 768;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment