1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Small fixes to static analyzer bugs

This commit is contained in:
qarmin
2019-04-04 22:00:16 +02:00
parent c2c11fc063
commit 8460d0678c
14 changed files with 59 additions and 72 deletions

View File

@@ -67,7 +67,7 @@ struct Rect2 {
if (p_point.x < position.x) {
real_t d = position.x - p_point.x;
dist = inside ? d : MIN(dist, d);
dist = d;
inside = false;
}
if (p_point.y < position.y) {