From a543f6cc3a60ec5d46ecf873e2ce6cf23d3bd5d1 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Wed, 18 Jan 2023 19:52:26 +0800 Subject: [PATCH] Removed unecessary check in SHAnimatorComponent --- SHADE_Engine/src/Animation/SHAnimatorComponent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SHADE_Engine/src/Animation/SHAnimatorComponent.hpp b/SHADE_Engine/src/Animation/SHAnimatorComponent.hpp index b6055e53..9c6a5d3a 100644 --- a/SHADE_Engine/src/Animation/SHAnimatorComponent.hpp +++ b/SHADE_Engine/src/Animation/SHAnimatorComponent.hpp @@ -42,7 +42,7 @@ namespace SHADE { firstKeyFrame = iter; } - else if (KEYFRAME.FrameIndex > closestFrameIndex) + else // KEYFRAME.FrameIndex > closestFrameIndex { nextKeyFrame = iter; break;