diff --git a/gfx/atlas/atlas.png b/gfx/atlas/atlas.png index e2bb61f..ef13edc 100644 Binary files a/gfx/atlas/atlas.png and b/gfx/atlas/atlas.png differ diff --git a/src/system/atlas.c b/src/system/atlas.c index 30b65e8..2ee9405 100644 --- a/src/system/atlas.c +++ b/src/system/atlas.c @@ -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;