mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-22 20:51:36 +00:00
Mantis 0001090:
o Lerk backward flight removed git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@297 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
4f97ab24f4
commit
f10d17f627
1 changed files with 11 additions and 11 deletions
|
@ -5051,15 +5051,15 @@ void PM_Jump (void)
|
|||
else
|
||||
{
|
||||
// tankefugl: 0000522 reverse lerk flight
|
||||
theThrust = pmove->cmd.forwardmove * kWingThrustForwardScalar; //kWingThrustBackwardScalar;
|
||||
theLift = 200 * (pmove->forward[2] + 0.5) / 1.5;
|
||||
|
||||
if (theLift < 0)
|
||||
{
|
||||
theLift = 0;
|
||||
}
|
||||
//theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar;
|
||||
//theLift = 200;
|
||||
// Uncomment to enable backwards flight
|
||||
//theThrust = pmove->cmd.forwardmove * kWingThrustForwardScalar; //kWingThrustBackwardScalar;
|
||||
//theLift = 200 * (pmove->forward[2] + 0.5) / 1.5;
|
||||
//if (theLift < 0)
|
||||
//{
|
||||
// theLift = 0;
|
||||
//}
|
||||
theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar;
|
||||
theLift = 200;
|
||||
// :tankefugl
|
||||
}
|
||||
|
||||
|
@ -5191,8 +5191,8 @@ void PM_Jump (void)
|
|||
float projectedSpeed = DotProduct(pmove->velocity, pmove->forward);
|
||||
|
||||
// tankefugl: 0000522 reverse lerk flight
|
||||
if (projectedSpeed < 0)
|
||||
speed *= -1;
|
||||
//if (projectedSpeed < 0)
|
||||
// speed *= -1;
|
||||
// :tankefugl
|
||||
vec3_t forwardVelocity;
|
||||
VectorScale(pmove->forward, speed, forwardVelocity);
|
||||
|
|
Loading…
Reference in a new issue