mirror of https://github.com/godotengine/godot
Merge pull request #66260 from lawnjelly/fix_bvh_array_warning
Fix array-bounds warning in BVH
This commit is contained in:
commit
300ea8602c
|
|
@ -100,7 +100,11 @@ public:
|
|||
num_items++;
|
||||
return id;
|
||||
}
|
||||
#ifdef DEV_ENABLED
|
||||
return -1;
|
||||
#else
|
||||
ERR_FAIL_V_MSG(0, "BVH request_item error.");
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue