From e25b20717523e579bb6f1e0d17b635c71bad6fab Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 29 Dec 2024 23:28:00 +1100 Subject: resource names --- asset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asset.cpp') 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); -- cgit v1.2.3-54-g00ecf