From f1ff05bf5932a7825509dbe896e60183a96a6d36 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 19 Oct 2020 13:09:38 +0200 Subject: Added ThroughWalls, InventoryActions API and AutoTotem --- src/raycast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/raycast.h') diff --git a/src/raycast.h b/src/raycast.h index 734efd6ad..4f5ca2a5b 100644 --- a/src/raycast.h +++ b/src/raycast.h @@ -38,7 +38,7 @@ public: * @param liquids pointable if false, liquid nodes won't be found */ RaycastState(const core::line3d &shootline, bool objects_pointable, - bool liquids_pointable); + bool liquids_pointable, bool nodes_pointable = true); //! Shootline of the raycast. core::line3d m_shootline; @@ -55,6 +55,7 @@ public: bool m_objects_pointable; bool m_liquids_pointable; + bool m_nodes_pointable; //! The code needs to search these nodes around the center node. core::aabbox3d m_search_range { 0, 0, 0, 0, 0, 0 }; -- cgit v1.2.3