diff --git a/src/xrGame/quadtree.h b/src/xrGame/quadtree.h index 5d899843b7d..bbf567c0fb9 100644 --- a/src/xrGame/quadtree.h +++ b/src/xrGame/quadtree.h @@ -49,7 +49,7 @@ class CQuadTree virtual ~CFixedStorage() { xr_free(m_objects); } IC T* get_object() { - VERIFY(m_free); + R_ASSERT1_CURE(m_free, { return nullptr; }); T* node = m_free; m_free = m_free->next(); ZeroMemory(node, sizeof(T));