summaryrefslogtreecommitdiff
path: root/servers/physics
diff options
context:
space:
mode:
authorehriche <eehrich@googlemail.com>2015-05-06 00:41:41 +0200
committerehriche <eehrich@googlemail.com>2015-05-06 00:41:41 +0200
commit670d77813f8ded38685eee98f83dc796227a59b7 (patch)
tree8a393c95ebc8750ce4db1af544f938704e1906a6 /servers/physics
parentbc3c14a76b988a50e65328a932316c2e630a7ae6 (diff)
PhysicsServerSW::body_is_shape_set_as_trigger - missing return statement
Diffstat (limited to 'servers/physics')
-rw-r--r--servers/physics/physics_server_sw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/physics_server_sw.cpp b/servers/physics/physics_server_sw.cpp
index 2b4a137e11..03d5b7afa1 100644
--- a/servers/physics/physics_server_sw.cpp
+++ b/servers/physics/physics_server_sw.cpp
@@ -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_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);
}