mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[c] Fixes and closes #2990
Verified that this change is correct using the latest versions of spine-c and spine-sfml
This commit is contained in:
parent
eda6ed40bb
commit
a554d4f1b0
@ -554,7 +554,7 @@ static spAnimation *_spSkeletonBinary_readAnimation(spSkeletonBinary *self, cons
|
|||||||
spAlphaTimeline_setFrame(timeline, frame, time, a);
|
spAlphaTimeline_setFrame(timeline, frame, time, a);
|
||||||
if (frame == frameLast) break;
|
if (frame == frameLast) break;
|
||||||
time2 = readFloat(input);
|
time2 = readFloat(input);
|
||||||
a2 = readByte(input) / 255;
|
a2 = readByte(input) / 255.0;
|
||||||
switch (readSByte(input)) {
|
switch (readSByte(input)) {
|
||||||
case CURVE_STEPPED:
|
case CURVE_STEPPED:
|
||||||
spCurveTimeline_setStepped(SUPER(timeline), frame);
|
spCurveTimeline_setStepped(SUPER(timeline), frame);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user