diff options
author | Paolo Perkovic <paolo.perkovic@gmail.com> | 2018-02-01 09:57:10 +0100 |
---|---|---|
committer | Paolo Perkovic <paolo.perkovic@gmail.com> | 2018-02-01 16:47:20 +0100 |
commit | 08d4bfacafa8abe435d51a6afecb276030a23280 (patch) | |
tree | e0d37560439f599958a99dd191b2802039591956 /servers/physics/physics_server_sw.cpp | |
parent | 2459eebc1d0d679efb546aa5a95ddd493290a7aa (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.cpp | 4 |
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(); } |