Skip to content

Commit

Permalink
Don't use a reference for RaycastState::m_pointabilities (#14376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour committed Feb 17, 2024
1 parent 6ca214f commit 1e316a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raycast.h
Expand Up @@ -55,7 +55,7 @@ class RaycastState

bool m_objects_pointable;
bool m_liquids_pointable;
const std::optional<Pointabilities> &m_pointabilities;
const std::optional<Pointabilities> m_pointabilities;

//! The code needs to search these nodes around the center node.
core::aabbox3d<s16> m_search_range { 0, 0, 0, 0, 0, 0 };
Expand Down

0 comments on commit 1e316a9

Please sign in to comment.