diff options
| author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-19 13:09:38 +0200 |
|---|---|---|
| committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-19 13:09:38 +0200 |
| commit | f1ff05bf5932a7825509dbe896e60183a96a6d36 (patch) | |
| tree | 73f2e361a7fd8010345880071aa29f0495171879 /src/raycast.h | |
| parent | 35da7306dcd07fd43252468cdf71c9d8c09faeeb (diff) | |
| download | dragonfireclient-f1ff05bf5932a7825509dbe896e60183a96a6d36.tar.xz | |
Added ThroughWalls, InventoryActions API and AutoTotem
Diffstat (limited to 'src/raycast.h')
| -rw-r--r-- | src/raycast.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<f32> &shootline, bool objects_pointable, - bool liquids_pointable); + bool liquids_pointable, bool nodes_pointable = true); //! Shootline of the raycast. core::line3d<f32> 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<s16> m_search_range { 0, 0, 0, 0, 0, 0 }; |
