Mantis 0000522:

O Lerk can now fly backwards. Press backwards and tap jump to flap back from the way you are looking. Hold down to glide as before.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@28 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-04-04 00:27:18 +00:00
parent f4c8e4e192
commit 09e8cfc6f5

View file

@ -4964,8 +4964,17 @@ void PM_Jump (void)
} }
else else
{ {
theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar; // tankefugl: 0000522 reverse lerk flight
theLift = 200; theThrust = pmove->cmd.forwardmove * kWingThrustBackwardScalar;
theLift = 200 * (pmove->forward[2] + 0.5) / 1.5;
if (theLift < 0)
{
theLift = 0;
}
//theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar;
//theLift = 200;
// :tankefugl
} }
} }