summaryrefslogtreecommitdiff
path: root/servers/physics/physics_server_sw.cpp
diff options
context:
space:
mode:
authorPaolo Perkovic <paolo.perkovic@gmail.com>2018-02-01 09:57:10 +0100
committerPaolo Perkovic <paolo.perkovic@gmail.com>2018-02-01 16:47:20 +0100
commit08d4bfacafa8abe435d51a6afecb276030a23280 (patch)
treee0d37560439f599958a99dd191b2802039591956 /servers/physics/physics_server_sw.cpp
parent2459eebc1d0d679efb546aa5a95ddd493290a7aa (diff)
Fix inconsistencies and typos in argument names
Diffstat (limited to 'servers/physics/physics_server_sw.cpp')
-rw-r--r--servers/physics/physics_server_sw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics/physics_server_sw.cpp b/servers/physics/physics_server_sw.cpp
index 5681ca838a..ea0d372281 100644
--- a/servers/physics/physics_server_sw.cpp
+++ b/servers/physics/physics_server_sw.cpp
@@ -795,12 +795,12 @@ void PhysicsServerSW::body_set_axis_velocity(RID p_body, const Vector3 &p_axis_v
body->wakeup();
};
-void PhysicsServerSW::body_set_axis_lock(RID p_body, BodyAxis p_axis, bool lock) {
+void PhysicsServerSW::body_set_axis_lock(RID p_body, BodyAxis p_axis, bool p_lock) {
BodySW *body = body_owner.get(p_body);
ERR_FAIL_COND(!body);
- body->set_axis_lock(p_axis, lock);
+ body->set_axis_lock(p_axis, p_lock);
body->wakeup();
}