PhysicsServerSW::body_is_shape_set_as_trigger - missing return statement
This commit is contained in:
parent
bc3c14a76b
commit
670d77813f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue