summaryrefslogtreecommitdiff
path: root/asset.cpp
diff options
context:
space:
mode:
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);