From a554d4f1b0cb80f481682c05cb575b0255bc8e1c Mon Sep 17 00:00:00 2001 From: Luke Ingram Date: Tue, 2 Dec 2025 22:25:27 -0400 Subject: [PATCH] [c] Fixes and closes #2990 Verified that this change is correct using the latest versions of spine-c and spine-sfml --- spine-c/spine-c/src/spine/SkeletonBinary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-c/spine-c/src/spine/SkeletonBinary.c b/spine-c/spine-c/src/spine/SkeletonBinary.c index bfd2f971b..f18802d38 100644 --- a/spine-c/spine-c/src/spine/SkeletonBinary.c +++ b/spine-c/spine-c/src/spine/SkeletonBinary.c @@ -554,7 +554,7 @@ static spAnimation *_spSkeletonBinary_readAnimation(spSkeletonBinary *self, cons spAlphaTimeline_setFrame(timeline, frame, time, a); if (frame == frameLast) break; time2 = readFloat(input); - a2 = readByte(input) / 255; + a2 = readByte(input) / 255.0; switch (readSByte(input)) { case CURVE_STEPPED: spCurveTimeline_setStepped(SUPER(timeline), frame);