summaryrefslogtreecommitdiff
path: root/asset.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-29 23:28:00 +1100
committerquou <quou@disroot.org>2024-12-29 23:28:00 +1100
commite25b20717523e579bb6f1e0d17b635c71bad6fab (patch)
treedd7839c247b81554d0ea2f5207df0f52f0484637 /asset.cpp
parent39fc0b5af67aa2dc0763394b0727e919840f9f57 (diff)
resource names
Diffstat (limited to 'asset.cpp')
-rw-r--r--asset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asset.cpp b/asset.cpp
index 10ddd04..8a5a1cc 100644
--- a/asset.cpp
+++ b/asset.cpp
@@ -123,7 +123,7 @@ Asset* Asset_Arena::load(const char* name) {
pack_seek(f, 0, seek_rel_start);
Asset_Loader& loader = manager.get_loader(magic);
clear_arena(s);
- Asset* asset = loader.load(a, s, f);
+ Asset* asset = loader.load(a, s, name, f);
if (asset) {
asset->loader = &loader;
assets[b].name = dup_string(a, name);