mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 21:57:16 +01:00
Fix array-bounds warning in BVH
Provides a workaround to prevent tripping a compiler warning. (cherry picked from commit 91d252c69795cdfc53e71c553edcff665636ea16)
This commit is contained in:
parent
0c95c634bb
commit
60b6e83948
@ -88,7 +88,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
Block a user