diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-28 01:32:12 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-28 01:32:12 +0100 |
commit | d1caf2f0379bcd0f127df04fd2dcb66723e1ba2f (patch) | |
tree | f3434b29ce3f4122f306517aa56ad0719ec52d40 /servers/physics/physics_server_sw.cpp | |
parent | 46eebac3ae299177063b2be69b4f3cd4552f083a (diff) |
Remove bogus argument in body_get_node
Diffstat (limited to 'servers/physics/physics_server_sw.cpp')
-rw-r--r-- | servers/physics/physics_server_sw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/physics_server_sw.cpp b/servers/physics/physics_server_sw.cpp index a9a8042c19..7a35510963 100644 --- a/servers/physics/physics_server_sw.cpp +++ b/servers/physics/physics_server_sw.cpp @@ -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); |