Hull length is int.

This commit is contained in:
NathanSweet 2014-05-08 17:38:31 +02:00
parent 1a176d8436
commit 5848973f0b

View File

@ -564,7 +564,7 @@ spSkeletonData* spSkeletonJson_readSkeletonData (spSkeletonJson* self, const cha
mesh->a = toColor(color, 3); mesh->a = toColor(color, 3);
} }
mesh->hullLength = Json_getFloat(attachmentMap, "hull", 0); mesh->hullLength = Json_getInt(attachmentMap, "hull", 0);
entry = Json_getItem(attachmentMap, "edges"); entry = Json_getItem(attachmentMap, "edges");
if (entry) { if (entry) {
@ -635,7 +635,7 @@ spSkeletonData* spSkeletonJson_readSkeletonData (spSkeletonJson* self, const cha
mesh->a = toColor(color, 3); mesh->a = toColor(color, 3);
} }
mesh->hullLength = Json_getFloat(attachmentMap, "hull", 0); mesh->hullLength = Json_getInt(attachmentMap, "hull", 0);
entry = Json_getItem(attachmentMap, "edges"); entry = Json_getItem(attachmentMap, "edges");
if (entry) { if (entry) {