mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[cpp] Fix compliation on VS2017, closes #2645
This commit is contained in:
parent
7672c4a32d
commit
eb6a973f98
@ -77,5 +77,5 @@ void InheritTimeline::apply(Skeleton &skeleton, float lastTime, float time, Vect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int idx = Animation::search(_frames, time, ENTRIES) + INHERIT;
|
int idx = Animation::search(_frames, time, ENTRIES) + INHERIT;
|
||||||
bone->_inherit = (Inherit) _frames[idx];
|
bone->_inherit = static_cast<Inherit>(_frames[idx]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user