Remove bogus argument in body_get_node

This commit is contained in:
Rémi Verschelde
2015-12-28 01:32:12 +01:00
parent 46eebac3ae
commit d1caf2f037
4 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -517,7 +517,7 @@ void PhysicsServerSW::body_set_mode(RID p_body, BodyMode p_mode) {
body->set_mode(p_mode);
};
PhysicsServer::BodyMode PhysicsServerSW::body_get_mode(RID p_body, BodyMode p_mode) const {
PhysicsServer::BodyMode PhysicsServerSW::body_get_mode(RID p_body) const {
BodySW *body = body_owner.get(p_body);
ERR_FAIL_COND_V(!body,BODY_MODE_STATIC);