From 766fb7b46edab47f96b8b940e390daf5319261b7 Mon Sep 17 00:00:00 2001 From: Paramat Date: Sat, 8 Sep 2018 00:38:35 +0100 Subject: 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. --- src/client/clientevent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client') 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; -- cgit v1.2.3