You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
PhysicsServerSW::body_is_shape_set_as_trigger - missing return statement
This commit is contained in:
@@ -551,7 +551,7 @@ bool PhysicsServerSW::body_is_shape_set_as_trigger(RID p_body, int p_shape_idx)
|
|||||||
ERR_FAIL_COND_V(!body,false);
|
ERR_FAIL_COND_V(!body,false);
|
||||||
ERR_FAIL_INDEX_V(p_shape_idx,body->get_shape_count(),false);
|
ERR_FAIL_INDEX_V(p_shape_idx,body->get_shape_count(),false);
|
||||||
|
|
||||||
body->is_shape_set_as_trigger(p_shape_idx);
|
return body->is_shape_set_as_trigger(p_shape_idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user