mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 19:03:28 +00:00
added check
This commit is contained in:
@@ -32,6 +32,7 @@ namespace omath::pathfinding
|
||||
|
||||
void NavigationMesh::set_event(const Vector3<float>& vertex, std::string event_id)
|
||||
{
|
||||
if (m_vertex_map.contains(vertex))
|
||||
m_vertex_events[vertex] = std::move(event_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user