Skip to content

Commit

Permalink
xrGame/quadtree.h: replace VERIFY with R_ASSERT1_CURE (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Dec 27, 2024
1 parent 6adea8e commit 94b1f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/quadtree.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 94b1f25

Please sign in to comment.