-Fixes from source code analyzizer, closes #1768

This commit is contained in:
Juan Linietsky
2015-05-01 10:44:08 -03:00
parent af42e244e0
commit 4804462ee0
17 changed files with 31 additions and 31 deletions

View File

@@ -285,7 +285,7 @@ Array Physics2DDirectSpaceState::_cast_motion(const Ref<Physics2DShapeQueryParam
Array ret(true);
ret.resize(2);
ret[0]=closest_safe;
ret[0]=closest_unsafe;
ret[1]=closest_unsafe;
return ret;
}