diff options
author | Paramat <paramat@users.noreply.github.com> | 2018-09-08 00:38:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-08 00:38:35 +0100 |
commit | 766fb7b46edab47f96b8b940e390daf5319261b7 (patch) | |
tree | 59a3bb890cbf8922bd82e4e2fffdda42717c71ea /src/client | |
parent | 6ed9c6fb3a80bf18b3f9f74e39704558371e8b41 (diff) | |
download | minetest-766fb7b46edab47f96b8b940e390daf5319261b7.tar.gz minetest-766fb7b46edab47f96b8b940e390daf5319261b7.tar.bz2 minetest-766fb7b46edab47f96b8b940e390daf5319261b7.zip |
Particles: Make collision with objects optional (#7682)
Also set it to false for node dig particles, as they are often created
and high in number.
Improve particle documentation.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/clientevent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/clientevent.h b/src/client/clientevent.h index f0f1dc9e0..4976eb174 100644 --- a/src/client/clientevent.h +++ b/src/client/clientevent.h @@ -82,6 +82,7 @@ struct ClientEvent f32 size; bool collisiondetection; bool collision_removal; + bool object_collision; bool vertical; std::string *texture; struct TileAnimationParams animation; @@ -103,6 +104,7 @@ struct ClientEvent f32 maxsize; bool collisiondetection; bool collision_removal; + bool object_collision; u16 attached_id; bool vertical; std::string *texture; |