Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarActorMovementController.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 19:24:35 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 19:24:35 +1000
commit14b9689b6d4f4ad5276c88130dc6e449bedc0709 (patch)
tree829e760821fb887470ba2a820d309db1428f7f17 /source/game/StarActorMovementController.cpp
parentc9e889723b7af832322d178975e6e440d6cd3ae5 (diff)
Change formatting to use fmtlib (STILL NEED TO CHANGE TO FMT SYNTAX!)
Diffstat (limited to 'source/game/StarActorMovementController.cpp')
-rw-r--r--source/game/StarActorMovementController.cpp2
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;