diff options
Diffstat (limited to 'source/game/StarActorMovementController.cpp')
-rw-r--r-- | source/game/StarActorMovementController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarActorMovementController.cpp b/source/game/StarActorMovementController.cpp index 915e7e0..d4266eb 100644 --- a/source/game/StarActorMovementController.cpp +++ b/source/game/StarActorMovementController.cpp @@ -1302,7 +1302,7 @@ Maybe<bool> PathController::move(ActorMovementController& movementController, Ac float angleFactor = movementController.velocity().normalized() * delta.normalized(); float speedAlongAngle = angleFactor * movementController.velocity().magnitude(); auto acc = parameters.airForce.value(0.0) / movementController.mass(); - sourceVelocity = delta.normalized() * fmin(parameters.flySpeed.value(0.0), speedAlongAngle + acc * WorldTimestep);; + sourceVelocity = delta.normalized() * fmin(parameters.flySpeed.value(0.0), speedAlongAngle + acc * WorldTimestep); targetVelocity = sourceVelocity; } break; |