From e349cedb6e59e15b613e75662045a78b5ac0c6c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 22 Feb 2018 08:18:25 +0100 Subject: Skeleton2D: Fix missing return value in comparator --- scene/2d/skeleton_2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/2d/skeleton_2d.h b/scene/2d/skeleton_2d.h index 791af57bdf..49199f684f 100644 --- a/scene/2d/skeleton_2d.h +++ b/scene/2d/skeleton_2d.h @@ -34,7 +34,7 @@ class Skeleton2D : public Node2D { struct Bone { bool operator<(const Bone &p_bone) const { - p_bone.bone->is_greater_than(bone); + return p_bone.bone->is_greater_than(bone); } Bone2D *bone; Transform2D rest_inverse; -- cgit v1.2.3