diff options
author | reduz <reduzio@gmail.com> | 2015-12-29 18:46:21 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2015-12-29 18:46:21 -0300 |
commit | 555ad5f8b7facb9835ee3533d3b3e956cce4cdd1 (patch) | |
tree | e69f819320e20f26d686cfa6cc21125bcb0b57b3 /core/math | |
parent | 196b3e03fc4887ed90bf6411f457e66d1e697fd8 (diff) |
removed wron return types, fixes #2483
removed console, which was obsolete and unused sine long long ago
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/math_2d.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/math/math_2d.cpp b/core/math/math_2d.cpp index ce03f089e5..e76f044df3 100644 --- a/core/math/math_2d.cpp +++ b/core/math/math_2d.cpp @@ -187,7 +187,6 @@ Vector2 Vector2::snapped(const Vector2& p_by) const { Vector2 Vector2::clamped(real_t p_len) const { - return *this; real_t l = length(); Vector2 v = *this; if (l>0 && p_len<l) { |