From 65ab23536ec70bac949e52bacf7b9b76c39d1d22 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Mon, 18 Apr 2016 21:07:46 +0200 Subject: [PATCH] Fix AnimLayer not applying bug introduced in 339490e3e9. --- BBGE/SkeletalSprite.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/BBGE/SkeletalSprite.cpp b/BBGE/SkeletalSprite.cpp index 785a474..dd72e29 100644 --- a/BBGE/SkeletalSprite.cpp +++ b/BBGE/SkeletalSprite.cpp @@ -1778,6 +1778,7 @@ bool AnimationLayer::contains(const Bone *b) const for (int j = 0; j < includeBones.size(); j++) if (idx == includeBones[j]) return true; + return false; } return true;