Commit 284d96e5 authored by Daniel Buckmaster's avatar Daniel Buckmaster

Fixed air acceleration going wild.

parent 95ef5ec2
......@@ -2870,7 +2870,7 @@ void Player::updateMove(const Move* move)
if (pvl)
pv *= moveSpeed / pvl;
VectorF runAcc = pv - acc;
VectorF runAcc = pv - (mVelocity + acc);
runAcc.z = 0;
runAcc.x = runAcc.x * mDataBlock->airControl;
runAcc.y = runAcc.y * mDataBlock->airControl;
......
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