summaryrefslogtreecommitdiffstats
path: root/game/shared/gravity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/gravity.cc')
-rw-r--r--game/shared/gravity.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/shared/gravity.cc b/game/shared/gravity.cc
index 66b6589..068f658 100644
--- a/game/shared/gravity.cc
+++ b/game/shared/gravity.cc
@@ -1,4 +1,5 @@
#include "shared/pch.hh"
+
#include "shared/gravity.hh"
#include "shared/dimension.hh"
@@ -6,7 +7,7 @@
#include "shared/stasis.hh"
#include "shared/velocity.hh"
-void GravityComponent::fixed_update(Dimension *dimension)
+void GravityComponent::fixed_update(Dimension* dimension)
{
auto fixed_acceleration = globals::fixed_frametime * dimension->get_gravity();
auto group = dimension->entities.group<GravityComponent>(entt::get<VelocityComponent>, entt::exclude<StasisComponent>);