Dig particles: Various improvements (#7714)
authorParamat <paramat@users.noreply.github.com>
Thu, 4 Oct 2018 03:13:41 +0000 (04:13 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Oct 2018 03:13:41 +0000 (04:13 +0100)
commit1413b722a72d475e8f6cc6febbb5479504b90c04
tree29031ec1db53fcdf48dc4adbcf7e820f156048a6
parent84a5fa01fff2b81fae12411c31502a49f152ed1d
Dig particles: Various improvements (#7714)

Improve codestyle.
Add clarifying comments.
Use 'movement_gravity' setting and physics override instead of hardcoded value.
Halve number of particles in final 'node dug' burst.
Avoid extremely small, near-invisible particles.
Increase velocity to increase number emerging from within a cubic node.
src/particles.cpp