Removed unecessary check in SHAnimatorComponent

This commit is contained in:
Kah Wei 2023-01-18 19:52:26 +08:00
parent 3e23f08aa8
commit a543f6cc3a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ namespace SHADE
{
firstKeyFrame = iter;
}
else if (KEYFRAME.FrameIndex > closestFrameIndex)
else // KEYFRAME.FrameIndex > closestFrameIndex
{
nextKeyFrame = iter;
break;