summaryrefslogtreecommitdiff
path: root/servers/physics/physics_server_sw.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-12-28 12:26:36 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-12-28 12:26:36 +0100
commitbfbde4dfd11be8728be4bb88d8bc109acb19ccfd (patch)
tree80caee83551b639717c252e5f33036a75670ad8a /servers/physics/physics_server_sw.cpp
parent37cb0faedb0aa314d5e9ca2e4f4b0e268dd3237f (diff)
parentd4993b74fc715d294ca0a77b335db3782d4bdcd6 (diff)
Merge pull request #3146 from akien-mga/pr-argument-names
Add missing argument names in GDScript bindings + related fixes
Diffstat (limited to 'servers/physics/physics_server_sw.cpp')
-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 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);