diff options
Diffstat (limited to 'src/assets.c')
-rw-r--r-- | src/assets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assets.c b/src/assets.c index 05e2b04..e0aa0a8 100644 --- a/src/assets.c +++ b/src/assets.c @@ -29,7 +29,7 @@ void loadAnimations(Assets* assets) { char filePath[ASSETS_NAME_MAX]; snprintf(filePath, ASSETS_NAME_MAX, "assets/%s", animationAssetsNames[i]); - assets->animations[i] = loadAnimationFromFile(filePath); + assets->animations[i] = loadAnimationAssetFromFile(filePath); } } @@ -62,7 +62,7 @@ void closeAssets(Assets* assets) // Animations. for (int i = 0; i < ANIMATION_ASSET_COUNT; ++i) { - freeAnimation(&assets->animations[i]); + freeAnimationAsset(&assets->animations[i]); } TraceLog(LOG_INFO, "Assets closed"); |