mirror of
https://github.com/ENSL/NS.git
synced 2024-11-24 21:41:17 +00:00
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:
parent
f4c8e4e192
commit
09e8cfc6f5
1 changed files with 11 additions and 2 deletions
|
@ -4964,8 +4964,17 @@ void PM_Jump (void)
|
|||
}
|
||||
else
|
||||
{
|
||||
theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar;
|
||||
theLift = 200;
|
||||
// tankefugl: 0000522 reverse lerk flight
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue