diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-22 12:00:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 12:00:34 +0200 |
commit | a342131eba2834240289112a1b8d5d0c68a265c9 (patch) | |
tree | c412df9c24c8b568086ea6ff72a097fb8d20dbc0 /scene/2d | |
parent | 1e67f214c520b2c1a9fed30f78440c4e1d4d14dd (diff) | |
parent | 856a8226a5306632f5dd4d9e9c916d89e3e21495 (diff) |
Merge pull request #27673 from qarmin/small_fixes
Small fixes, mostly duplicated code
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/physics_body_2d.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/2d/physics_body_2d.cpp b/scene/2d/physics_body_2d.cpp index 690f1d4b4a..578c9aa5f9 100644 --- a/scene/2d/physics_body_2d.cpp +++ b/scene/2d/physics_body_2d.cpp @@ -1275,9 +1275,6 @@ Vector2 KinematicBody2D::move_and_slide(const Vector2 &p_linear_velocity, const if (collided) { found_collision = true; - } - - if (collided) { colliders.push_back(collision); motion = collision.remainder; |