Sprite atlas update.
This commit is contained in:
parent
165cafaf04
commit
9e8b0ab2f9
Binary file not shown.
Before Width: | Height: | Size: 670 KiB After Width: | Height: | Size: 726 KiB |
|
@ -73,7 +73,7 @@ static void loadAtlasData(void)
|
|||
|
||||
root = cJSON_Parse(text);
|
||||
|
||||
for (node = cJSON_GetObjectItem(root, "images")->child ; node != NULL ; node = node->next)
|
||||
for (node = root->child ; node != NULL ; node = node->next)
|
||||
{
|
||||
filename = cJSON_GetObjectItem(node, "filename")->valuestring;
|
||||
x = cJSON_GetObjectItem(node, "x")->valueint;
|
||||
|
|
Loading…
Reference in New Issue