From 555ad5f8b7facb9835ee3533d3b3e956cce4cdd1 Mon Sep 17 00:00:00 2001 From: reduz Date: Tue, 29 Dec 2015 18:46:21 -0300 Subject: removed wron return types, fixes #2483 removed console, which was obsolete and unused sine long long ago --- core/math/math_2d.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'core') 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