aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2017-09-08 18:39:24 +0200
committerGitHub <noreply@github.com>2017-09-08 18:39:24 +0200
commit1105a14bccefb48a0e264fe19190c39629259338 (patch)
tree15da320d9e44dc4d8461ac4c49b99e0ea4d1fbed /src/game.cpp
parente3093cbe857cca99b8f090922d6553bae90c3bf8 (diff)
downloaddragonfireclient-1105a14bccefb48a0e264fe19190c39629259338.tar.xz
Particles: Do not add digging particles for airlike nodes (#6392)
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index c9d314fa1..bb1875cf3 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -4032,7 +4032,7 @@ void Game::handleDigging(const PointedThing &pointed, const v3s16 &nodepos,
if (m_cache_enable_particles) {
const ContentFeatures &features = client->getNodeDefManager()->get(n);
- client->getParticleManager()->addPunchingParticles(client,
+ client->getParticleManager()->addNodeParticle(client,
player, nodepos, n, features);
}
}