mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[libgdx] Skeleton hash is now a long in the binary format.
This commit is contained in:
parent
dd77657755
commit
b0aa2f7447
@ -137,8 +137,8 @@ public class SkeletonBinary {
|
||||
|
||||
SkeletonInput input = new SkeletonInput(file);
|
||||
try {
|
||||
skeletonData.hash = input.readString();
|
||||
if (skeletonData.hash.isEmpty()) skeletonData.hash = null;
|
||||
long hash = input.readLong();
|
||||
skeletonData.hash = hash == 0 ? null : Long.toString(hash);
|
||||
skeletonData.version = input.readString();
|
||||
if (skeletonData.version.isEmpty()) skeletonData.version = null;
|
||||
if ("3.8.75".equals(skeletonData.version))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user