aboutsummaryrefslogtreecommitdiff
path: root/src/client/particles.cpp
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2022-08-12 11:17:02 +0200
committerGitHub <noreply@github.com>2022-08-12 10:17:02 +0100
commitc8ee755c05ca4410b9b1e816a9244b3cf303d3fe (patch)
tree25a898cc692ba6a996f32d8248dde153847cd539 /src/client/particles.cpp
parentdf1d215f4823b82f704b06eae0179c5e6c6b97af (diff)
downloadminetest-c8ee755c05ca4410b9b1e816a9244b3cf303d3fe.tar.xz
Physics overrides: Move values to a common struct (#12591)
Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'src/client/particles.cpp')
-rw-r--r--src/client/particles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/particles.cpp b/src/client/particles.cpp
index 818cdc8cc..95d3c2021 100644
--- a/src/client/particles.cpp
+++ b/src/client/particles.cpp
@@ -875,7 +875,7 @@ void ParticleManager::addNodeParticle(IGameDef *gamedef,
);
p.acc = v3f(
0.0f,
- -player->movement_gravity * player->physics_override_gravity / BS,
+ -player->movement_gravity * player->physics_override.gravity / BS,
0.0f
);
p.pos = v3f(