You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
@@ -581,10 +581,8 @@ void SpaceBullet::create_empty_world(bool p_create_soft_world) {
|
||||
} else {
|
||||
world_mem = malloc(sizeof(btDiscreteDynamicsWorld));
|
||||
}
|
||||
if (!world_mem) {
|
||||
ERR_EXPLAIN("Out of memory");
|
||||
ERR_FAIL();
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_MSG(!world_mem, "Out of memory.");
|
||||
|
||||
if (p_create_soft_world) {
|
||||
collisionConfiguration = bulletnew(GodotSoftCollisionConfiguration(static_cast<btDiscreteDynamicsWorld *>(world_mem)));
|
||||
|
||||
Reference in New Issue
Block a user